You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SecretsManager::Types::GetResourcePolicyResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the secret that the resource-based policy was retrieved for.

Returns:

  • (String)

    The ARN of the secret that the resource-based policy was retrieved for.

#nameString

The friendly name of the secret that the resource-based policy was retrieved for.

Returns:

  • (String)

    The friendly name of the secret that the resource-based policy was retrieved for.

#resource_policyString

A JSON-formatted string that describes the permissions that are associated with the attached secret. These permissions are combined with any permissions that are associated with the user or role that attempts to access this secret. The combined permissions specify who can access the secret and what actions they can perform. For more information, see Authentication and Access Control for AWS Secrets Manager in the AWS Secrets Manager User Guide.

Returns:

  • (String)

    A JSON-formatted string that describes the permissions that are associated with the attached secret.