Retrieves a workload identity provider by ARN, including its tags and its outbound signers.
See also: AWS API Documentation
get-workload-identity-provider
--workload-identity-provider-arn <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]
--workload-identity-provider-arn (string) [required]
The Amazon Resource Name (ARN) of the provider to read.
Constraints:
- min:
20- max:
2048
--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.
--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.
--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.
--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.
--help (boolean)
Display help for the command/subcommand.
Arn -> (string)
The Amazon Resource Name (ARN) specifying the provider. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference .
Constraints:
- min:
20- max:
2048
ResourceScope -> (string)
The scope the provider was created at.
Possible values:
ACCOUNTORGANIZATION
ProviderName -> (string)
The friendly name of the provider.
Constraints:
- min:
1- max:
128- pattern:
^[A-Za-z0-9_.-]+$
ProviderId -> (string)
The unique identifier of the provider, which does not change for the life of the provider. IAM prefixes it with
AWPAfor an account-scoped provider andAWPOfor an organization-scoped provider.Constraints:
- min:
16- max:
128- pattern:
[\w]+
Description -> (string)
The description of the provider. Present only when the provider carries one.
Constraints:
- max:
255- pattern:
^[\u0009\u000A\u000D\u0020-\u007E\u00A1-\u00FF]*$
Scheme -> (string)
The naming scheme of the provider.
SPIFFEroots every identifier at the provider’s domain, andNONErenders the path alone.Possible values:
NONESPIFFE
WorkloadIdentityDomain -> (string)
The domain that roots the identifiers minted under the provider. Present only when a domain is claimed.
Constraints:
- min:
1- max:
64- pattern:
^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?){0,31}$
OutboundSigners -> (structure)
The provider’s outbound signing material. Present only when the provider holds signing material.
This element reports at most ten signers per credential format and omits retired entries. To see every entry, including retired ones, call ListWorkloadIdentityProviderOutboundSigners .
X509 -> (list)
The provider’s X.509 outbound signers. The list is empty until a certificate authority is attached.
Constraints:
- max:
10(structure)
Contains the read-only form of one X.509 outbound signer, as reported in the
X509member of a WorkloadIdentityOutboundSigners object.The times and the status say the same thing two ways. The times are authoritative, so you can always reconstruct the state by comparing them to the current time.
Statusis IAM’s own reading of those times, so the common question of whether a signer is signing does not require the arithmetic.Configuration -> (structure)
The certificate authority that you attached, read back.
CertificateAuthorityId -> (string) [required]
The certificate authority’s ID, which is the last segment of its Amazon Resource Name (ARN), for example
a1b2c3d4-5678-90ab-cdef-EXAMPLE11111. IAM looks the certificate authority up in the Amazon Web Services Region of the IAM endpoint you call.Constraints:
- min:
1- max:
256- pattern:
^[a-zA-Z0-9_-]+$AccountId -> (string) [required]
The account that owns the certificate authority. You must specify it even when the certificate authority is in your own account.
Constraints:
- pattern:
\d{12}Status -> (string)
The signer’s status, which IAM derives from the signer’s times rather than storing. For what each value means, see WorkloadIdentityOutboundSignerSummary .
Possible values:
IN_TRANSITIONACTIVEVALIDATINGINACTIVEStartSigningTime -> (timestamp)
The date and time, in ISO 8601 date-time format, when the signer begins or began signing.EndSigningTime -> (timestamp)
The date and time, in ISO 8601 date-time format, when the signer stops or stopped signing. Absent while the signer has no scheduled end, which is the steady state. It is set once a rotation, a disable or a delete takes the signer out of service.DiscoveryExpirationTime -> (timestamp)
The date and time, in ISO 8601 date-time format, when the signer’s trust material stops being published. Absent while the trust material stays published. Once set, it is later thanEndSigningTime, because the trust material outlives the signing window so that credentials the signer already issued keep verifying until they expire.Jwt -> (list)
The provider’s JSON Web Token (JWT) outbound signers, one for each supported signing algorithm, created with the provider.
Constraints:
- max:
10(structure)
Contains the read-only form of one JWT outbound signer, as reported in the
Jwtmember of a WorkloadIdentityOutboundSigners object.IAM creates these keys with the provider and rotates them on its own schedule, so you attach nothing here. What you read back is which algorithm each key signs under, and since when.
This data type carries no status and no retirement times, unlike the X.509 signer detail, because these keys are never disabled, deleted or scheduled to stop. Every key reported is signing.
SigningAlgorithm -> (string)
The JSON Web Signature (JWS) algorithm,
alg, that the key signs under. It matches both thealgheader of the credentials this key issues and thealgof its JWKS entry.Constraints:
- min:
1- max:
64- pattern:
^[A-Z0-9_]+$Configuration -> (structure)
The key’s own configuration.
KeyAlgorithm -> (string) [required]
The key’s algorithm, for example
ECC_NIST_P384.Constraints:
- min:
1- max:
64- pattern:
^[A-Z0-9_]+$StartSigningTime -> (timestamp)
The date and time, in ISO 8601 date-time format, when the provider was created. These keys sign from the moment the provider exists, with no propagation wait.OidcIssuerUri -> (string)
The issuer URI of the provider. It matches the
issclaim of the JWT SPIFFE Verifiable Identity Document (SVID) credentials that the provider issues, and it is the OpenID Connect (OIDC) discovery root for the provider’s JSON Web Key Set (JWKS).Constraints:
- min:
1- max:
255BundleEndpointUrl -> (string)
The SPIFFE trust bundle endpoint for the provider’s trust domain.
Constraints:
- min:
1- max:
255
Tags -> (list)
The tags attached to the provider. Present only when the provider carries tags. For more information about tagging, see Tagging IAM resources in the IAM User Guide .
Constraints:
- max:
50(structure)
A structure that represents user-provided metadata that can be associated with an IAM resource. For more information about tagging, see Tagging IAM resources in the IAM User Guide .
Key -> (string) [required]
The key name that can be used to look up or retrieve the associated value. For example,
DepartmentorCost Centerare common choices.Constraints:
- min:
1- max:
128- pattern:
[\p{L}\p{Z}\p{N}_.:/=+\-@]+Value -> (string) [required]
The value associated with this tag. For example, tags with a key name of
Departmentcould have values such asHuman Resources,Accounting, andSupport. Tags with a key name ofCost Centermight have values that consist of the number associated with the different cost centers in your company. Typically, many resources have tags with the same key name but with different values.Constraints:
- min:
0- max:
256- pattern:
[\p{L}\p{Z}\p{N}_.:/=+\-@]*
CreateDate -> (timestamp)
The date and time, in ISO 8601 date-time format, when the provider was created.