Credentials

Connect to private data sources or services using API Tokens, SSH keys, AWS IAM credentials, or other secrets.

Adding credentials to Saturn

On the “Credentials” page of Saturn, you can add arbitrary credentials by clicking the “Create” button in the top right. If you are an admin, you can create credentials for other users, otherwise you can only create them for yourself.

There are 4 types of credentials:

  • Environment Variable: specify the name of the credential, the name of the environment variable, and the value.
  • File: specify the name of the credential, the path to the file, and contents of the file.
  • SSH Public Key: specify the name of the credential, and paste in the ssh public key for your private key, and it will be added to ~/.ssh/authorized_keys so that you can ssh into your Jupyter instance.
  • SSH Private Key: specify the name of the credential, the path for the private key, and paste in the ssh private key for use with private repository authentication, for example.

Each credential you create will be set and made available on every container you run in Saturn.

Connecting Saturn to IAM Credentials

It may be helpful to associate AWS IAM users with Saturn users in order to grant access to AWS resources (like S3 Buckets). This section assumes that you already have an IAM user, and access keys for that user. If you need help with that, please reach out to us, either via our chat widget, or at support@saturncloud.io

We recommend configuring the following as environment variable credentials

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_DEFAULT_REGION

For Reference

https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html