View Source aws_rolesanywhere (aws v1.0.4)
Identity and Access Management Roles Anywhere provides a secure way for your workloads such as servers, containers, and applications that run outside of Amazon Web Services to obtain temporary Amazon Web Services credentials.
Your workloads can use the same IAM policies and roles you have for native Amazon Web Services applications to access Amazon Web Services resources. Using IAM Roles Anywhere eliminates the need to manage long-term credentials for workloads running outside of Amazon Web Services.
To use IAM Roles Anywhere, your workloads must use X.509 certificates issued by their certificate authority (CA). You register the CA with IAM Roles Anywhere as a trust anchor to establish trust between your public key infrastructure (PKI) and IAM Roles Anywhere. If you don't manage your own PKI system, you can use Private Certificate Authority to create a CA and then use that to establish trust with IAM Roles Anywhere.
This guide describes the IAM Roles Anywhere operations that you can call programmatically. For more information about IAM Roles Anywhere, see the IAM Roles Anywhere User Guide: https://docs.aws.amazon.com/rolesanywhere/latest/userguide/introduction.html.Summary
Functions
Creates a profile, a list of the roles that Roles Anywhere service is trusted to assume.
Creates a trust anchor to establish trust between IAM Roles Anywhere and your certificate authority (CA).
Deletes a certificate revocation list (CRL).
Deletes a profile.
Deletes a trust anchor.
Disables a certificate revocation list (CRL).
Disables a profile.
Disables a trust anchor.
Enables a certificate revocation list (CRL).
Enables temporary credential requests for a profile.
Enables a trust anchor.
Gets a certificate revocation list (CRL).
Gets a profile.
Gets a subject, which associates a certificate identity with authentication attempts.
Gets a trust anchor.
Imports the certificate revocation list (CRL).
Lists all certificate revocation lists (CRL) in the authenticated account and Amazon Web Services Region.
Lists all profiles in the authenticated account and Amazon Web Services Region.
Lists the subjects in the authenticated account and Amazon Web Services Region.
Lists the tags attached to the resource.
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
Attaches a list of notification settings to a trust anchor.
Resets the custom notification setting to IAM Roles Anywhere default setting.
Attaches tags to a resource.
Removes tags from the resource.
Updates the certificate revocation list (CRL).
Updates a profile, a list of the roles that IAM Roles Anywhere service is trusted to assume.
Updates a trust anchor.
Functions
Creates a profile, a list of the roles that Roles Anywhere service is trusted to assume.
You use profiles to intersect permissions with IAM managed policies.
Required permissions:rolesanywhere:CreateProfile
.
Creates a trust anchor to establish trust between IAM Roles Anywhere and your certificate authority (CA).
You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials.
Required permissions:rolesanywhere:CreateTrustAnchor
.
Deletes a certificate revocation list (CRL).
Required permissions:rolesanywhere:DeleteCrl
.
Deletes a profile.
Required permissions:rolesanywhere:DeleteProfile
.
Deletes a trust anchor.
Required permissions:rolesanywhere:DeleteTrustAnchor
.
Disables a certificate revocation list (CRL).
Required permissions:rolesanywhere:DisableCrl
.
Disables a profile.
When disabled, temporary credential requests with this profile fail.
Required permissions:rolesanywhere:DisableProfile
.
Disables a trust anchor.
When disabled, temporary credential requests specifying this trust anchor are unauthorized.
Required permissions:rolesanywhere:DisableTrustAnchor
.
Enables a certificate revocation list (CRL).
When enabled, certificates stored in the CRL are unauthorized to receive session credentials.
Required permissions:rolesanywhere:EnableCrl
.
Enables temporary credential requests for a profile.
Required permissions:rolesanywhere:EnableProfile
.
Enables a trust anchor.
When enabled, certificates in the trust anchor chain are authorized for trust validation.
Required permissions:rolesanywhere:EnableTrustAnchor
.
Gets a certificate revocation list (CRL).
Required permissions:rolesanywhere:GetCrl
.
Gets a profile.
Required permissions:rolesanywhere:GetProfile
.
Gets a subject, which associates a certificate identity with authentication attempts.
The subject stores auditing information such as the status of the last authentication attempt, the certificate data used in the attempt, and the last time the associated identity attempted authentication.
Required permissions:rolesanywhere:GetSubject
.
Gets a trust anchor.
Required permissions:rolesanywhere:GetTrustAnchor
.
get_trust_anchor(Client, TrustAnchorId, QueryMap, HeadersMap, Options0)
View SourceImports the certificate revocation list (CRL).
A CRL is a list of certificates that have been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere validates against the CRL before issuing credentials.
Required permissions:rolesanywhere:ImportCrl
.
Lists all certificate revocation lists (CRL) in the authenticated account and Amazon Web Services Region.
Required permissions:rolesanywhere:ListCrls
.
Lists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions:rolesanywhere:ListProfiles
.
Lists the subjects in the authenticated account and Amazon Web Services Region.
Required permissions:rolesanywhere:ListSubjects
.
Lists the tags attached to the resource.
Required permissions:rolesanywhere:ListTagsForResource
.
list_tags_for_resource(Client, ResourceArn, QueryMap, HeadersMap, Options0)
View SourceLists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions:rolesanywhere:ListTrustAnchors
.
Attaches a list of notification settings to a trust anchor.
A notification setting includes information such as event name, threshold, status of the notification setting, and the channel to notify.
Required permissions:rolesanywhere:PutNotificationSettings
.
Resets the custom notification setting to IAM Roles Anywhere default setting.
Required permissions:rolesanywhere:ResetNotificationSettings
.
Attaches tags to a resource.
Required permissions:rolesanywhere:TagResource
.
Removes tags from the resource.
Required permissions:rolesanywhere:UntagResource
.
Updates the certificate revocation list (CRL).
A CRL is a list of certificates that have been revoked by the issuing certificate authority (CA). IAM Roles Anywhere validates against the CRL before issuing credentials.
Required permissions:rolesanywhere:UpdateCrl
.
Updates a profile, a list of the roles that IAM Roles Anywhere service is trusted to assume.
You use profiles to intersect permissions with IAM managed policies.
Required permissions:rolesanywhere:UpdateProfile
.
Updates a trust anchor.
You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials.
Required permissions:rolesanywhere:UpdateTrustAnchor
.