CloudBeaver Documentation


AWS SAML database access via Okta

Note: This feature is available in Enterprise, AWS, Team editions only.


CloudBeaver allows for database connections through AWS SAML with Okta authentication. This guide details the process for establishing such connections. Please ensure you meet all the prerequisites outlined below before proceeding with the configuration steps.


  • AWS IAM Configuration: An active configuration of AWS IAM is necessary. This includes a properly set up AWS account with IAM Connect enabled. Additionally, ensure the account has the required permissions to create and manage identity providers and roles.
  • Okta setup: Access an Okta account with the necessary permissions to configure applications.
  • CloudBeaver administrative access: Ensure administrative privileges in CloudBeaver.

For this type of authentication, proxy access keys and secret keys are not required. This means there is no need to generate static keys in AWS.

Configuration Steps

  1. Log in to CloudBeaver as an Administrator.

  2. Enable AWS services and AWS SAML provider:

    • Navigate to Settings -> Administration -> Server Configuration and select the checkboxes for both AWS and AWS SAML.
  3. Create a blank Identity Provider:

    • Go to Settings -> Administration -> Identity Providers.
    • Click on the + Add button to create a draft of a new identity provider.
    • Initially, fill in only the necessary fields to generate the Sign-in/Sign-out URLs and ACS links. The remaining fields will be completed later.
    • After filling in the fields, click on the Create button to complete the blank identity provider configuration.
  4. Copy links:

    1. Enter the newly created identity provider.
    2. Copy the Sign in, Sign out and the ACS link.
    3. Also, you need to copy the Entity ID link. To find the Entity ID link, click on the download metadata file link and copy the entityID value.

  5. Create SAML 2.0 application in Okta:

    1. Initiate the process by creating SAML 2.0 application in Okta. For detailed steps, consult the official Okta documentation on application creation.

    1. Under Single Sign-on URL, paste the copied from CloudBeaver application Sign in link.
    2. In the same section, locate the Audience URI (SP Entity ID). To formulate the Entity ID link, start with the ACS link from CloudBeaver application. Modify this URL by replacing the segment that reads acs with metadata, and then paste this newly created link into the Audience URI (SP Entity ID) field.
    3. In the same section, locate the Show Advanced Settings button and click to open additional settings.
      • Find Other Requestable SSO URIs and click the Add Another + button. Paste the ACS link and enter 0 in the Index field.
      • Insert${org.externalKey} into the SAML User ID field. This is your provider ID value, which is automatically populated.
    4. Click Next and then Finish to finalize these configurations.

  6. Configure SAML settings in CloudBeaver:

    1. Access Settings -> Administration -> Identity Providers in CloudBeaver.
    2. Click on the identity provider that was set up for SAML integration.
    3. Retrieve SAML configuration URLs from Okta:

      • In Okta, navigate to the Sign On settings of your SAML application.
      • Expand the Hide details section to view the necessary URLs.
    4. Enter SAML details into CloudBeaver:

      • Copy the SSO sign-on URL, SSO sign-out URL, and the Issuer URL from Okta.
      • Paste these URLs into the corresponding fields in CloudBeaver's identity provider settings.
      • Upload the IDP x509 certificate, which can be downloaded from Okta, into the respective field in CloudBeaver.
    5. Complete additional fields
    Field Name Description
    Description (Optional) Provide a brief description of the identity provider.
    Icon URL (Optional) Enter the URL of an icon to represent this identity provider in CloudBeaver.
    User group mapping attribute (Optional) Specify the attribute that will be used for mapping user groups between CloudBeaver and the identity provider.
    1. After entering all necessary information, save the settings to finalize the configuration of your SAML identity provider.

  7. Add users to application in Okta:

  8. Add Identity Provider in AWS IAM:

Hint to obtain the Metadata document:

  • Navigate to Okta and select your application under Applications.
  • Proceed to the Sign On tab, locate the SAML 2.0 section, and click on the Metadata URL.
  • Then, paste this URL into a new browser tab to open the XML content. Copy the XML content displayed in your browser into a new file.
  1. Configure a role for SAML 2.0 federation:

Hints for filling fields on the initial page when creating a role:

  • Attribute: You can choose SAML:iss.
  • Value: To find Issuer, navigate to Okta and select your application under Applications. Then proceed to the Sign On tab, locate the SAML 2.0 section, and there you will find the Issuer URL to copy.
  1. Configure SAML attributes in Okta for AWS:

To ensure proper session management and permissions during SAML authentication with AWS, configure the following SAML attributes in Okta:

  • Steps to Configure SAML Attributes:

    • Go to Applications in Okta, select your application, and edit the SAML Settings under General.
    • Scroll down to find the SAML Settings section and click Edit to modify the configurations.
    • After entering the edit mode, proceed to the Configure SAML section.
    • Locate and fill in the Attribute statements (Optional) settings.

Attribute Name Name Format Value Example Notes Basic 3600 Set in seconds, range: 900 to 43200 seconds. Basic arn:aws:iam::123456789012:role/SAMLRole,arn:aws:iam::123456789012:saml-provider/Okta Format: {roleArn},{identityProviderArn}. Basic Use a unique identifier like or

Note: In the Value for the Role attribute, ensure the ARNs are correctly copied from AWS IAM. The roleArn is the ARN for the role created for SAML integration, and identityProviderArn is the ARN for the identity provider (Okta) configured in AWS IAM.

Set a default role and AWS session lifetime in the SAML configuration for consistent permissions, or customize via attribute mapping for user-specific roles. See documentation for details.

  1. Now you can log in through the newly created Federated authentication method in CloudBeaver, using the Configuration name you assigned during the setup.
  1. Verify the integration of AWS SAML and Okta

    1. Once logged in, click on your username in CloudBeaver and navigate to the User Info tab.
    2. Here, you should see two AUTH tokens. Their presence indicates that the integration of AWS OpenID and Okta has been successfully completed, and CloudBeaver has access to the necessary credentials.
  2. Following successful login, you can access the databases listed in Cloud Explorer that are integrated with your AWS account.