Class: AWS.RolesAnywhere
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.RolesAnywhere
- Identifier:
- rolesanywhere
- API Version:
- 2018-05-10
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
AWS Identity and Access Management Roles Anywhere provides a secure way for your workloads such as servers, containers, and applications running outside of AWS to obtain Temporary AWS credentials. Your workloads can use the same IAM policies and roles that you have configured with native AWS applications to access AWS resources. Using IAM Roles Anywhere will eliminate the need to manage long term credentials for workloads running outside of AWS.
To use IAM Roles Anywhere customer workloads will need to use X.509 certificates issued by their Certificate Authority (CA) . The Certificate Authority (CA) needs to be registered with IAM Roles Anywhere as a trust anchor to establish trust between customer PKI and IAM Roles Anywhere. Customers who do not manage their own PKI system can use AWS Certificate Manager Private Certificate Authority (ACM PCA) to create a Certificate Authority and use that to establish trust with IAM Roles Anywhere
This guide describes the IAM rolesanywhere operations that you can call programmatically. For general information about IAM Roles Anywhere see https://docs.aws.amazon.com/
Sending a Request Using RolesAnywhere
var rolesanywhere = new AWS.RolesAnywhere();
rolesanywhere.createProfile(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the RolesAnywhere object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var rolesanywhere = new AWS.RolesAnywhere({apiVersion: '2018-05-10'});
You can also set the API version globally in AWS.config.apiVersions
using
the rolesanywhere service identifier:
AWS.config.apiVersions = {
rolesanywhere: '2018-05-10',
// other service API versions
};
var rolesanywhere = new AWS.RolesAnywhere();
Constructor Summary collapse
-
new AWS.RolesAnywhere(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
createProfile(params = {}, callback) ⇒ AWS.Request
Creates a profile.
-
createTrustAnchor(params = {}, callback) ⇒ AWS.Request
Creates a trust anchor.
-
deleteCrl(params = {}, callback) ⇒ AWS.Request
Deletes a certificate revocation list (CRL).
Required permissions:
rolesanywhere:DeleteCrl
. -
deleteProfile(params = {}, callback) ⇒ AWS.Request
Deletes a profile.
Required permissions:
rolesanywhere:DeleteProfile
. -
deleteTrustAnchor(params = {}, callback) ⇒ AWS.Request
Deletes a trust anchor.
Required permissions:
rolesanywhere:DeleteTrustAnchor
. -
disableCrl(params = {}, callback) ⇒ AWS.Request
Disables a certificate revocation list (CRL).
Required permissions:
rolesanywhere:DisableCrl
. -
disableProfile(params = {}, callback) ⇒ AWS.Request
Disables a profile.
-
disableTrustAnchor(params = {}, callback) ⇒ AWS.Request
Disables a trust anchor.
-
enableCrl(params = {}, callback) ⇒ AWS.Request
Enables a certificate revocation list (CRL).
-
enableProfile(params = {}, callback) ⇒ AWS.Request
Enables the roles in a profile to receive session credentials in CreateSession.
-
enableTrustAnchor(params = {}, callback) ⇒ AWS.Request
Enables a trust anchor.
-
getCrl(params = {}, callback) ⇒ AWS.Request
Gets a certificate revocation list (CRL).
Required permissions:
rolesanywhere:GetCrl
. -
getProfile(params = {}, callback) ⇒ AWS.Request
Gets a profile.
Required permissions:
rolesanywhere:GetProfile
. -
getSubject(params = {}, callback) ⇒ AWS.Request
Gets a Subject.
-
getTrustAnchor(params = {}, callback) ⇒ AWS.Request
Gets a trust anchor.
Required permissions:
rolesanywhere:GetTrustAnchor
. -
importCrl(params = {}, callback) ⇒ AWS.Request
Imports the certificate revocation list (CRL).
-
listCrls(params = {}, callback) ⇒ AWS.Request
Lists all Crls in the authenticated account and Amazon Web Services Region.
Required permissions:
rolesanywhere:ListCrls
. -
listProfiles(params = {}, callback) ⇒ AWS.Request
Lists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions:
rolesanywhere:ListProfiles
. -
listSubjects(params = {}, callback) ⇒ AWS.Request
Lists the subjects in the authenticated account and Amazon Web Services Region.
Required permissions:
rolesanywhere:ListSubjects
. -
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Lists the tags attached to the resource.
Required permissions:
rolesanywhere:ListTagsForResource
. -
listTrustAnchors(params = {}, callback) ⇒ AWS.Request
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions:
rolesanywhere:ListTrustAnchors
. -
tagResource(params = {}, callback) ⇒ AWS.Request
Attaches tags to a resource.
Required permissions:
rolesanywhere:TagResource
. -
untagResource(params = {}, callback) ⇒ AWS.Request
Removes tags from the resource.
Required permissions:
rolesanywhere:UntagResource
. -
updateCrl(params = {}, callback) ⇒ AWS.Request
Updates the certificate revocation list (CRL).
-
updateProfile(params = {}, callback) ⇒ AWS.Request
Updates the profile.
-
updateTrustAnchor(params = {}, callback) ⇒ AWS.Request
Updates the trust anchor.You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.RolesAnywhere(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
createProfile(params = {}, callback) ⇒ AWS.Request
Creates a profile. A profile is configuration resource to list the roles that RolesAnywhere service is trusted to assume. In addition, by applying a profile you can intersect permissions with IAM managed policies.
Required permissions: rolesanywhere:CreateProfile
.
createTrustAnchor(params = {}, callback) ⇒ AWS.Request
Creates a trust anchor. You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. A Trust Anchor is defined either as a reference to a AWS Certificate Manager Private Certificate Authority (ACM PCA), or by uploading a Certificate Authority (CA) certificate. Your AWS workloads can authenticate with the trust anchor using certificates issued by the trusted Certificate Authority (CA) in exchange for temporary AWS credentials.
Required permissions: rolesanywhere:CreateTrustAnchor
.
deleteCrl(params = {}, callback) ⇒ AWS.Request
Deletes a certificate revocation list (CRL).
Required permissions: rolesanywhere:DeleteCrl
.
deleteProfile(params = {}, callback) ⇒ AWS.Request
Deletes a profile.
Required permissions: rolesanywhere:DeleteProfile
.
deleteTrustAnchor(params = {}, callback) ⇒ AWS.Request
Deletes a trust anchor.
Required permissions: rolesanywhere:DeleteTrustAnchor
.
disableCrl(params = {}, callback) ⇒ AWS.Request
Disables a certificate revocation list (CRL).
Required permissions: rolesanywhere:DisableCrl
.
disableProfile(params = {}, callback) ⇒ AWS.Request
Disables a profile. When disabled, CreateSession requests with this profile fail.
Required permissions: rolesanywhere:DisableProfile
.
disableTrustAnchor(params = {}, callback) ⇒ AWS.Request
Disables a trust anchor. When disabled, CreateSession requests specifying this trust anchor are unauthorized.
Required permissions: rolesanywhere:DisableTrustAnchor
.
enableCrl(params = {}, callback) ⇒ AWS.Request
Enables a certificate revocation list (CRL). When enabled, certificates stored in the CRL are unauthorized to receive session credentials.
Required permissions: rolesanywhere:EnableCrl
.
enableProfile(params = {}, callback) ⇒ AWS.Request
Enables the roles in a profile to receive session credentials in CreateSession.
Required permissions: rolesanywhere:EnableProfile
.
enableTrustAnchor(params = {}, callback) ⇒ AWS.Request
Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation.
Required permissions: rolesanywhere:EnableTrustAnchor
.
getCrl(params = {}, callback) ⇒ AWS.Request
Gets a certificate revocation list (CRL).
Required permissions: rolesanywhere:GetCrl
.
getProfile(params = {}, callback) ⇒ AWS.Request
Gets a profile.
Required permissions: rolesanywhere:GetProfile
.
getSubject(params = {}, callback) ⇒ AWS.Request
Gets a Subject. A Subject associates a certificate identity with authentication attempts by CreateSession. The Subject resources stores audit information such as 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
.
getTrustAnchor(params = {}, callback) ⇒ AWS.Request
Gets a trust anchor.
Required permissions: rolesanywhere:GetTrustAnchor
.
importCrl(params = {}, callback) ⇒ AWS.Request
Imports the certificate revocation list (CRL). CRl is a list of certificates that have been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere validates against the crl list before issuing credentials.
Required permissions: rolesanywhere:ImportCrl
.
listCrls(params = {}, callback) ⇒ AWS.Request
Lists all Crls in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListCrls
.
listProfiles(params = {}, callback) ⇒ AWS.Request
Lists all profiles in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListProfiles
.
listSubjects(params = {}, callback) ⇒ AWS.Request
Lists the subjects in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListSubjects
.
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Lists the tags attached to the resource.
Required permissions: rolesanywhere:ListTagsForResource
.
listTrustAnchors(params = {}, callback) ⇒ AWS.Request
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListTrustAnchors
.
tagResource(params = {}, callback) ⇒ AWS.Request
Attaches tags to a resource.
Required permissions: rolesanywhere:TagResource
.
untagResource(params = {}, callback) ⇒ AWS.Request
Removes tags from the resource.
Required permissions: rolesanywhere:UntagResource
.
updateCrl(params = {}, callback) ⇒ AWS.Request
Updates the certificate revocation list (CRL). CRl is a list of certificates that have been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere validates against the crl list before issuing credentials.
Required permissions: rolesanywhere:UpdateCrl
.
updateProfile(params = {}, callback) ⇒ AWS.Request
Updates the profile. A profile is configuration resource to list the roles that RolesAnywhere service is trusted to assume. In addition, by applying a profile you can scope-down permissions with IAM managed policies.
Required permissions: rolesanywhere:UpdateProfile
.
updateTrustAnchor(params = {}, callback) ⇒ AWS.Request
Updates the trust anchor.You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. A Trust Anchor is defined either as a reference to a AWS Certificate Manager Private Certificate Authority (ACM PCA), or by uploading a Certificate Authority (CA) certificate. Your AWS workloads can authenticate with the trust anchor using certificates issued by the trusted Certificate Authority (CA) in exchange for temporary AWS credentials.
Required permissions: rolesanywhere:UpdateTrustAnchor
.