Skip to content

DescribeWorkspaceAuthentication

Source: src/AWS/Grafana/DescribeWorkspaceAuthentication.ts

Runtime binding for the DescribeWorkspaceAuthentication operation (IAM action grafana:DescribeWorkspaceAuthentication), scoped to one Workspace.

Reads the workspace’s authentication configuration — the enabled providers (AWS_SSO, SAML) and, for SAML, the IdP metadata, assertion-attribute mapping, and role values. Provide the implementation with Effect.provide(AWS.Grafana.DescribeWorkspaceAuthenticationHttp).

const describeAuth = yield* Grafana.DescribeWorkspaceAuthentication(workspace);
const { authentication } = yield* describeAuth();
// authentication.providers → ["SAML"]
// authentication.saml?.status → "CONFIGURED" | "NOT_CONFIGURED"