AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
[ aws . license-manager-user-subscriptions ]
Registers an identity provider for user-based subscriptions.
See also: AWS API Documentation
register-identity-provider
--identity-provider <value>
--product <value>
[--settings <value>]
[--tags <value>]
[--cli-input-json <value>]
[--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>]
--identity-provider
(tagged union structure)
An object that specifies details for the identity provider to register.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:ActiveDirectoryIdentityProvider
.ActiveDirectoryIdentityProvider -> (structure)
The
ActiveDirectoryIdentityProvider
resource contains settings and other details about a specific Active Directory identity provider.ActiveDirectorySettings -> (structure)
The
ActiveDirectorySettings
resource contains details about the Active Directory, including network access details such as domain name and IP addresses, and the credential provider for user administration.DomainCredentialsProvider -> (tagged union structure)
Points to the
CredentialsProvider
resource that contains information about the credential provider for user administration.Note
This is a Tagged Union structure. Only one of the following top level keys can be set:SecretsManagerCredentialsProvider
.SecretsManagerCredentialsProvider -> (structure)
Identifies the Secrets Manager secret that contains credentials needed for user administration in the Active Directory.
SecretId -> (string)
The ID of the Secrets Manager secret that contains credentials.DomainIpv4List -> (list)
A list of domain IPv4 addresses that are used for the Active Directory.
(string)
DomainName -> (string)
The domain name for the Active Directory.DomainNetworkSettings -> (structure)
The
DomainNetworkSettings
resource contains an array of subnets that apply for the Active Directory.Subnets -> (list)
Contains a list of subnets that apply for the Active Directory domain.
(string)
ActiveDirectoryType -> (string)
The type of Active Directory – either a self-managed Active Directory or an Amazon Web Services Managed Active Directory.DirectoryId -> (string)
The directory ID for an Active Directory identity provider.
JSON Syntax:
{
"ActiveDirectoryIdentityProvider": {
"ActiveDirectorySettings": {
"DomainCredentialsProvider": {
"SecretsManagerCredentialsProvider": {
"SecretId": "string"
}
},
"DomainIpv4List": ["string", ...],
"DomainName": "string",
"DomainNetworkSettings": {
"Subnets": ["string", ...]
}
},
"ActiveDirectoryType": "SELF_MANAGED"|"AWS_MANAGED",
"DirectoryId": "string"
}
}
--product
(string)
The name of the user-based subscription product.
Valid values:
VISUAL_STUDIO_ENTERPRISE
|VISUAL_STUDIO_PROFESSIONAL
|OFFICE_PROFESSIONAL_PLUS
--settings
(structure)
The registered identity provider’s product related configuration settings such as the subnets to provision VPC endpoints.
SecurityGroupId -> (string)
A security group ID that allows inbound TCP port 1688 communication between resources in your VPC and the VPC endpoint for activation servers.Subnets -> (list)
The subnets defined for the registered identity provider.
(string)
Shorthand Syntax:
SecurityGroupId=string,Subnets=string,string
JSON Syntax:
{
"SecurityGroupId": "string",
"Subnets": ["string", ...]
}
--tags
(map)
The tags that apply to the identity provider's registration.
key -> (string)
value -> (string)
Shorthand Syntax:
KeyName1=string,KeyName2=string
JSON Syntax:
{"string": "string"
...}
--cli-input-json
(string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, the CLI 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.
--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
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
--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.
--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.
--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.
IdentityProviderSummary -> (structure)
Metadata that describes the results of an identity provider operation.
FailureMessage -> (string)
The failure message associated with an identity provider.IdentityProvider -> (tagged union structure)
The
IdentityProvider
resource contains information about an identity provider.Note
This is a Tagged Union structure. Only one of the following top level keys can be set:ActiveDirectoryIdentityProvider
.ActiveDirectoryIdentityProvider -> (structure)
The
ActiveDirectoryIdentityProvider
resource contains settings and other details about a specific Active Directory identity provider.ActiveDirectorySettings -> (structure)
The
ActiveDirectorySettings
resource contains details about the Active Directory, including network access details such as domain name and IP addresses, and the credential provider for user administration.DomainCredentialsProvider -> (tagged union structure)
Points to the
CredentialsProvider
resource that contains information about the credential provider for user administration.Note
This is a Tagged Union structure. Only one of the following top level keys can be set:SecretsManagerCredentialsProvider
.SecretsManagerCredentialsProvider -> (structure)
Identifies the Secrets Manager secret that contains credentials needed for user administration in the Active Directory.
SecretId -> (string)
The ID of the Secrets Manager secret that contains credentials.DomainIpv4List -> (list)
A list of domain IPv4 addresses that are used for the Active Directory.
(string)
DomainName -> (string)
The domain name for the Active Directory.DomainNetworkSettings -> (structure)
The
DomainNetworkSettings
resource contains an array of subnets that apply for the Active Directory.Subnets -> (list)
Contains a list of subnets that apply for the Active Directory domain.
(string)
ActiveDirectoryType -> (string)
The type of Active Directory – either a self-managed Active Directory or an Amazon Web Services Managed Active Directory.DirectoryId -> (string)
The directory ID for an Active Directory identity provider.IdentityProviderArn -> (string)
The Amazon Resource Name (ARN) of the identity provider.Product -> (string)
The name of the user-based subscription product.Settings -> (structure)
The
Settings
resource contains details about the registered identity provider’s product related configuration settings, such as the subnets to provision VPC endpoints.SecurityGroupId -> (string)
A security group ID that allows inbound TCP port 1688 communication between resources in your VPC and the VPC endpoint for activation servers.Subnets -> (list)
The subnets defined for the registered identity provider.
(string)
Status -> (string)
The status of the identity provider.