[ aws . quicksight ]

create-access-control-application

Description

Creates an access control application in an Amazon Quick Sight account. You use an access control application to define how an external client signs in to Quick Sight with OAuth 2.0.

To connect a client to Quick Sight through an inbound connector, associate the access control application with the connector by using the UpdateInboundConnectorApplicationAssociations operation.

See also: AWS API Documentation

Synopsis

  create-access-control-application
--aws-account-id <value>
--application-id <value>
--name <value>
[--description <value>]
--namespace <value>
--authentication-type <value>
--idp-authorizing-configuration <value>
--quick-authentication-configuration <value>
[--tags <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
[--help]

Options

--aws-account-id (string) [required]

The ID of the Amazon Web Services account that contains the Quick Sight account.

Constraints:

  • min: 12
  • max: 12
  • pattern: ^[0-9]{12}$

--application-id (string) [required]

The ID for the access control application. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Quick Sight reserves IDs that start with quick-aca- for the access control application of the Quick Sight desktop application. To create one, the ID must be quick-aca- followed by your Amazon Web Services account ID and the namespace, separated by a hyphen. For example, quick-aca-111122223333-default . In addition, QuickAuthenticationType must be QUICK_MANAGED_PUBLIC_AUTH_CODE with http://localhost:18080 as the only redirect URI, and IdpAuthorizingType must be IDC_AUTH_CODE or QUICK_MANAGED_AUTH_CODE .

Constraints:

  • min: 1
  • max: 512
  • pattern: [\w\-]+

--name (string) [required]

The name of the access control application.

Constraints:

  • min: 1
  • max: 128

--description (string)

The description of the access control application.

Constraints:

  • min: 1
  • max: 256
  • pattern: [A-Za-z0-9 _.,!?\-]*

--namespace (string) [required]

The Quick Sight namespace for the access control application.

Constraints:

  • max: 64
  • pattern: ^[a-zA-Z0-9._-]*$

--authentication-type (string) [required]

The authentication protocol that the access control application uses.

Possible values:

  • OIDC

--idp-authorizing-configuration (structure) [required]

The identity provider configuration of the access control application.

IdpAuthorizingType -> (string) [required]

How users of the access control application are authenticated.

Possible values:

  • EXTERNAL_IDP_PUBLIC_AUTH_CODE
  • EXTERNAL_IDP_CONFIDENTIAL_AUTH_CODE
  • QUICK_MANAGED_AUTH_CODE
  • IDC_AUTH_CODE

IdpAuthorizingConfigurationDetailInput -> (tagged union structure)

The details of the external IdP configuration. This is present when the IdpAuthorizingType is EXTERNAL_IDP_PUBLIC_AUTH_CODE or EXTERNAL_IDP_CONFIDENTIAL_AUTH_CODE .

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: ExternalIdpPublicAuthCode, ExternalIdpConfidentialAuthCode.

ExternalIdpPublicAuthCode -> (structure)

The configuration for an external IdP with a public client.

ClientId -> (string) [required]

The OAuth 2.0 client ID.

Constraints:

  • min: 1
  • max: 256

IssuerUrl -> (string) [required]

The issuer URL of the external OpenID Connect IdP.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https?://[-a-zA-Z0-9+&@/%=~_|!:,.;]*[-a-zA-Z0-9+&@/%=~_|]

ExternalIdpConfidentialAuthCode -> (structure)

The configuration for an external IdP with a confidential client.

ClientId -> (string) [required]

The OAuth 2.0 client ID.

Constraints:

  • min: 1
  • max: 256

IssuerUrl -> (string) [required]

The issuer URL of the external OpenID Connect IdP.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https?://[-a-zA-Z0-9+&@/%=~_|!:,.;]*[-a-zA-Z0-9+&@/%=~_|]

ClientSecret -> (structure) [required]

The first client secret of the confidential client.

RegionalSecretManagerArns -> (map) [required]

The ARN of the Amazon Web Services Secrets Manager secret that holds the client secret, for each Region.

Constraints:

  • min: 1
  • max: 10

key -> (string)

An Amazon Web Services Region code, for example aa-example-1 .

Constraints:

  • min: 5
  • max: 30
  • pattern: [a-z]{2}(-[a-z]+)+-[0-9]+

value -> (string)

The ARN of an Amazon Web Services Secrets Manager secret.

Constraints:

  • min: 20
  • max: 2048
  • pattern: arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):secretsmanager:[a-z0-9-]+:[0-9]{12}:secret:.+

IdcTrustedTokenIssuerConfiguration -> (structure)

A trusted token issuer configuration. When you provide it, Quick Sight authenticates the user with the external IdP and then exchanges the token with IAM Identity Center through the specified trusted token issuer. You can’t change it after the application is created.

This is required when the application uses an external IdP and its namespace uses IAM Identity Center.

IdcTrustedTokenIssuerArn -> (string) [required]

The ARN of the trusted token issuer in IAM Identity Center.

Constraints:

  • min: 20
  • max: 1284
  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::\d{12}:trustedTokenIssuer/(sso)?ins-[a-zA-Z0-9-.]{16}/tti-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

JSON Syntax:

{
  "IdpAuthorizingType": "EXTERNAL_IDP_PUBLIC_AUTH_CODE"|"EXTERNAL_IDP_CONFIDENTIAL_AUTH_CODE"|"QUICK_MANAGED_AUTH_CODE"|"IDC_AUTH_CODE",
  "IdpAuthorizingConfigurationDetailInput": {
    "ExternalIdpPublicAuthCode": {
      "ClientId": "string",
      "IssuerUrl": "string"
    },
    "ExternalIdpConfidentialAuthCode": {
      "ClientId": "string",
      "IssuerUrl": "string",
      "ClientSecret": {
        "RegionalSecretManagerArns": {"string": "string"
          ...}
      }
    }
  },
  "IdcTrustedTokenIssuerConfiguration": {
    "IdcTrustedTokenIssuerArn": "string"
  }
}

--quick-authentication-configuration (structure) [required]

The Quick Sight authentication configuration of the access control application. You provide redirect URIs, and Quick Sight generates the client ID.

QuickAuthenticationType -> (string) [required]

How the external client authenticates to Quick Sight.

Possible values:

  • QUICK_MANAGED_PUBLIC_AUTH_CODE

QuickAuthenticationConfigurationDetailInput -> (tagged union structure)

The details of the Quick Sight authentication configuration.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: QuickManagedPublicAuthCode.

QuickManagedPublicAuthCode -> (structure)

The configuration of a Quick Sight-managed public client.

RedirectUris -> (list) [required]

The OAuth 2.0 redirect URIs of the client.

Constraints:

  • min: 1
  • max: 10

(string)

An HTTP or HTTPS URI.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https?://[-a-zA-Z0-9+&@/%=~_|!:,.;]*[-a-zA-Z0-9+&@/%=~_|]

JSON Syntax:

{
  "QuickAuthenticationType": "QUICK_MANAGED_PUBLIC_AUTH_CODE",
  "QuickAuthenticationConfigurationDetailInput": {
    "QuickManagedPublicAuthCode": {
      "RedirectUris": ["string", ...]
    }
  }
}

--tags (list)

The tags to assign to the access control application.

Constraints:

  • min: 1
  • max: 200

(structure)

The key or keys of the key-value pairs for the resource tag or tags assigned to the resource.

Key -> (string) [required]

Tag key.

Constraints:

  • min: 1
  • max: 128

Value -> (string) [required]

Tag value.

Constraints:

  • min: 1
  • max: 256

Shorthand Syntax:

Key=string,Value=string ...

JSON Syntax:

[
  {
    "Key": "string",
    "Value": "string"
  }
  ...
]

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.

Global Options

--debug (boolean)

Turn on debug logging.

--endpoint-url (string)

Override command’s default URL with the given URL.

--no-verify-ssl (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

--no-paginate (boolean)

Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.

--output (string)

The formatting style for command output.

  • json
  • text
  • table
  • yaml
  • yaml-stream
  • off

--query (string)

A JMESPath query to use in filtering the response data.

--profile (string)

Use a specific profile from your credential file.

--region (string)

The region to use. Overrides config/env settings.

--version (string)

Display the version of this tool.

--color (string)

Turn on/off color output.

  • on
  • off
  • auto

--no-sign-request (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

--ca-bundle (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

--cli-read-timeout (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

--cli-connect-timeout (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

--cli-binary-format (string)

The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.

  • base64
  • raw-in-base64-out

--no-cli-pager (boolean)

Disable cli pager for output.

--cli-auto-prompt (boolean)

Automatically prompt for CLI input parameters.

--no-cli-auto-prompt (boolean)

Disable automatically prompt for CLI input parameters.

--cli-error-format (string)

The formatting style for error output. By default, errors are displayed in enhanced format.

  • legacy
  • json
  • yaml
  • text
  • table
  • enhanced

--help (boolean)

Display help for the command/subcommand.

Output

Status -> (integer)

The HTTP status of the request.

RequestId -> (string)

The Amazon Web Services request ID for this operation.

ApplicationId -> (string)

The ID of the access control application.

Arn -> (string)

The ARN of the access control application.

AccessControlApplicationStatus -> (string)

The status of the access control application. A new application is always ENABLED .

Possible values:

  • ENABLED
  • DISABLED

CreatedTime -> (timestamp)

The time when the access control application was created.

TenantUrl -> (string)

The tenant URL of the access control application.

IdcApplicationArn -> (string)

The ARN of the Amazon Web Services IAM Identity Center application that Quick Sight manages for this access control application. This value is present when the IdpAuthorizingType is IDC_AUTH_CODE , or when a trusted token issuer is configured.

QuickAuthenticationConfiguration -> (structure)

The generated Quick Sight authentication configuration. It contains the generated client ID.

QuickAuthenticationType -> (string) [required]

How the external client authenticates to Quick Sight.

Possible values:

  • QUICK_MANAGED_PUBLIC_AUTH_CODE

QuickAuthenticationConfigurationDetailCreateOutput -> (tagged union structure)

The details of the Quick Sight authentication configuration.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: QuickManagedPublicAuthCode.

QuickManagedPublicAuthCode -> (structure)

The configuration of a Quick Sight-managed public client.

RedirectUris -> (list) [required]

The OAuth 2.0 redirect URIs of the client.

Constraints:

  • min: 1
  • max: 10

(string)

An HTTP or HTTPS URI.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https?://[-a-zA-Z0-9+&@/%=~_|!:,.;]*[-a-zA-Z0-9+&@/%=~_|]

ClientId -> (string) [required]

The OAuth 2.0 client ID.

Constraints:

  • min: 1
  • max: 256