In order to use Okta as an IdP to authenticate the Akeyless Vault, you need to follow the below steps.

Create an Okta application

The following configuration will enable users to authenticate to the Dynamic Secrets Proxy (web portal on customer side) using Okta SAML-based Single Sign-On.

  1. Create new SAML 2.0 application in your Okta account.
  • Specify app name
  1. On the SAML Settings page:
  • Set "" into the Single sign on URL field.
  • Set "" into the Audience URI (SP Entity ID) field.
  • In the ATTRIBUTE STATEMENTS section, add the following attributes:
    • Name: email,
    • Value:
    • Name: user,
    • Value: user.login
  • In the GROUP ATTRIBUTE STATEMENTS section, add the following attributes:
    • Name: groups
    • Filter: Matches regex
    • Value: .*.*
  1. On the Feedback page, select “I'm an Okta customer adding an internal app”,
    and click “Finish”.
  1. Once the SAML 2.0 app has been created, you need to obtain the “Identity Provider metadata” for the following steps. To do so, select the Sign On tab and in the SIGN ON METHODS section, locate the Identity Provider metadata link (copy the link address to clipboard, don't click it) - this link is required for the following steps.
  1. Now, when an Okta Application is ready, assign users to the Okta app, just like with any other Okta Apps.

  2. In order to bind the Okta application with your Akeyless Vault account, you need to create a SAML Authentication Method using either CLI or UI, as described below.

Create SAML Authentication Method - CLI

akeyless create-auth-method-saml --name 'my Okta app' --idp-metadata-url ''

The result should look as the following:

Auth Method my Okta app successfully created
- Access ID: p-ki544fdn19gh

We'll need the Access-ID for the login with SAML.

Create SAML Authentication Method - UI

Click on Auth Methods -> New -> SAML:

Please use the link from the above step 4 in the IDP Metadata URL.

Login with Okta - CLI

  1. You should configure a new profile with your Access-ID from the previous step and SAML type (if no profile name is provided the default will be configured):
akeyless configure --access-id p-ki544e6n19gh --access-type saml --profile 'okta-app'
  1. Now, you can run any Akeyless CLI command and be authenticated with Okta application:
akeyless list-items --profile okta-app

Login with Okta - UI

In the Akeyless Vault login page switch the sign-in with SAML and enter your SAML Access-ID:

You will be redirected to the Okta sign-in where you need to provide your Okta credentials:

Did this page help you?