Class: Ansible::Ruby::Modules::Aws_kms
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Aws_kms
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/aws_kms.rb
Overview
Manage role/user access to a KMS key. Not designed for encrypting/decrypting.
Instance Method Summary collapse
-
#clean_invalid_entries ⇒ Boolean?
If adding/removing a role and invalid grantees are found, remove them.
-
#grant_types ⇒ Array<String>, ...
List of grants to give to user/role.
-
#key_alias ⇒ String?
Alias label to the key.
-
#key_arn ⇒ Object?
Full ARN to the key.
-
#mode ⇒ :grant, :deny
Grant or deny access.
-
#role_arn ⇒ Object?
ARN of role to allow/deny access.
-
#role_name ⇒ String?
Role to allow/deny access.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#clean_invalid_entries ⇒ Boolean?
Returns If adding/removing a role and invalid grantees are found, remove them. These entries will cause an update to fail in all known cases.,Only cleans if changes are being made.
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_kms.rb', line 34 attribute :clean_invalid_entries |
#grant_types ⇒ Array<String>, ...
Returns List of grants to give to user/role. Likely “role,role grant” or “role,role grant,admin”. Required when C(mode=grant).
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_kms.rb', line 30 attribute :grant_types |
#key_alias ⇒ String?
Returns Alias label to the key. One of C(key_alias) or C(key_arn) are required.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_kms.rb', line 16 attribute :key_alias |
#key_arn ⇒ Object?
Returns Full ARN to the key. One of C(key_alias) or C(key_arn) are required.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_kms.rb', line 20 attribute :key_arn |
#mode ⇒ :grant, :deny
Returns Grant or deny access.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_kms.rb', line 12 attribute :mode |
#role_arn ⇒ Object?
Returns ARN of role to allow/deny access. One of C(role_name) or C(role_arn) are required.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_kms.rb', line 27 attribute :role_arn |
#role_name ⇒ String?
Returns Role to allow/deny access. One of C(role_name) or C(role_arn) are required.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_kms.rb', line 23 attribute :role_name |