A common approach for connecting to third party systems from spark is to provide the credentials for the systems in a properties file that is passed to the spark script. However, this raises some questions about security.
Is it possible for a spark job running on bluemix to access files from other users spark jobs? I'm guessing that it was a design goal that this must not be possible, but it would be good to verify this.
I asked a similar question to this one, but the other question focuses on the security of passing credentials to the spark script as arguments to the script.
This question asks a similar question to this one, but is asking for security best practice.
For the Bluemix Apache Spark service, each provisioned spark service instance is a tenant. Each tenant is isolated from all other tenants. Spark jobs of a given tenant cannot access files or memory of any other tenant.