Configure Amazon Managed Grafana to use Okta
Use the following steps to configure Amazon Managed Grafana to use Okta as an identity provider. These steps assume that you have already created your Amazon Managed Grafana workspace and you have made a note of the workspace's ID, URLs, and Region.
Step 1: Steps to complete in Okta
Complete the following steps in Okta.
To set up Okta as an identity provider for Amazon Managed Grafana
-
Sign in to the Okta console as an admin.
-
In the left panel, choose Applications, Applications.
-
Choose Browse App Catalog and search for Amazon Managed Grafana.
-
Choose Amazon Managed Grafana and choose Add, Done.
-
Choose the application to start setting it up.
-
In the Sign On tab, choose Edit.
-
Under Advanced Sign-on Settings, enter your Amazon Managed Grafana workspace id and your Region in the Name Space and Region fields respectively. Your Amazon Managed Grafana workspace id and Region can be found in your Amazon Managed Grafana workspace url which is of the format
workspace-id
.grafana-workspace.Region
.amazonaws.com. -
Choose Save.
-
Under SAML 2.0, copy the URL for Identity Provider metadata. You use this later in this procedure in the Amazon Managed Grafana console.
-
In the Assignments tab, choose the People and Groups that you want to be able to use Amazon Managed Grafana.
Step 2: Steps to complete in Amazon Managed Grafana
Complete the following steps in the Amazon Managed Grafana console.
To finish setting up Okta as an identity provider for Amazon Managed Grafana
-
Open the Amazon Managed Grafana console at https://console.aws.amazon.com/grafana/
. -
In the navigation pane, choose the menu icon.
-
Choose All workspaces.
-
Choose the name of the workspace.
-
In the Authentication tab, choose Complete Setup.
-
Under Import the meta data, choose Upload or copy/paste and paste the Okta URL that you copied in the previous procedure.
-
Under Assertion mapping, do the following:
-
Make sure that I want to opt-out of assigning admins to my workspace is not selected.
Note
If you choose I want to opt-out of assigning admins to my workspace, you won't be able to use the Amazon Managed Grafana workspace console to administer the workspace, including tasks such as managing data sources, users, and dashboard permissions. You can make administrative changes to the workspace only by using Grafana APIs.
-
Set Assertion attribute role to the attribute name that you chose.
-
Set Admin role values to value corresponding to your admin users' roles.
-
(Optional) If you changed the default attributes in your Okta application, expand Additional settings - optional and then set the new attribute names.
By default, the Okta displayName attribute is passed to the name attribute and the Okta mail attribute is passed to both the email and login attributes.
-
-
Choose Save SAML Configuration.