aws-sdk-secretsmanager 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-secretsmanager.rb +1 -1
- data/lib/aws-sdk-secretsmanager/client.rb +30 -28
- data/lib/aws-sdk-secretsmanager/types.rb +35 -35
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7cea5714052ed47b711631b548a6b30ef6686c8
|
4
|
+
data.tar.gz: 4a6287efec0e527b172806fecab21f042ee1df97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45c33a1cfa2d892ca8a21009b880bddc6aa20aea5c8160efa9bb910933451f62b74ca882e0de60b72ba148b6a769166df168d9469b5411b5243fe754ff51b316
|
7
|
+
data.tar.gz: 5521e0d08af9f682d2592e40505dd93a97d96f4a2cbea14b7c5d4a2d403effc5275b0de0b849960dcd8a20e1f076efb1cd09af33753d008ba9b839caeb6cead9
|
@@ -350,7 +350,7 @@ module Aws::SecretsManager
|
|
350
350
|
# Specifies the friendly name of the new secret.
|
351
351
|
#
|
352
352
|
# The secret name must be ASCII letters, digits, or the following
|
353
|
-
# characters : /\_
|
353
|
+
# characters : /\_+=.@-
|
354
354
|
#
|
355
355
|
# @option params [String] :client_request_token
|
356
356
|
# (Optional) If you include `SecretString` or `SecretBinary`, then an
|
@@ -571,7 +571,8 @@ module Aws::SecretsManager
|
|
571
571
|
req.send_request(options)
|
572
572
|
end
|
573
573
|
|
574
|
-
# Deletes the resource-based policy
|
574
|
+
# Deletes the resource-based permission policy that's attached to the
|
575
|
+
# secret.
|
575
576
|
#
|
576
577
|
# **Minimum permissions**
|
577
578
|
#
|
@@ -585,15 +586,15 @@ module Aws::SecretsManager
|
|
585
586
|
#
|
586
587
|
# * To attach a resource policy to a secret, use PutResourcePolicy.
|
587
588
|
#
|
588
|
-
# * To retrieve the current resource-based policy that
|
589
|
+
# * To retrieve the current resource-based policy that's attached to a
|
589
590
|
# secret, use GetResourcePolicy.
|
590
591
|
#
|
591
592
|
# * To list all of the currently available secrets, use ListSecrets.
|
592
593
|
#
|
593
594
|
# @option params [required, String] :secret_id
|
594
|
-
# Specifies the secret
|
595
|
-
# resource-based policy. You can specify either the Amazon Resource
|
596
|
-
# (ARN) or the friendly name of the secret.
|
595
|
+
# Specifies the secret that you want to delete the attached
|
596
|
+
# resource-based policy for. You can specify either the Amazon Resource
|
597
|
+
# Name (ARN) or the friendly name of the secret.
|
597
598
|
#
|
598
599
|
# @return [Types::DeleteResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
599
600
|
#
|
@@ -944,10 +945,11 @@ module Aws::SecretsManager
|
|
944
945
|
req.send_request(options)
|
945
946
|
end
|
946
947
|
|
947
|
-
# Retrieves the JSON text of the resource-based policy
|
948
|
-
# specified secret. The JSON request string input and
|
949
|
-
# are shown formatted with
|
950
|
-
# readability. Submit your input as a single line JSON
|
948
|
+
# Retrieves the JSON text of the resource-based policy document that's
|
949
|
+
# attached to the specified secret. The JSON request string input and
|
950
|
+
# response output are shown formatted with white space and line breaks
|
951
|
+
# for better readability. Submit your input as a single line JSON
|
952
|
+
# string.
|
951
953
|
#
|
952
954
|
# **Minimum permissions**
|
953
955
|
#
|
@@ -961,15 +963,15 @@ module Aws::SecretsManager
|
|
961
963
|
#
|
962
964
|
# * To attach a resource policy to a secret, use PutResourcePolicy.
|
963
965
|
#
|
964
|
-
# * To delete the resource-based policy that
|
966
|
+
# * To delete the resource-based policy that's attached to a secret,
|
965
967
|
# use DeleteResourcePolicy.
|
966
968
|
#
|
967
969
|
# * To list all of the currently available secrets, use ListSecrets.
|
968
970
|
#
|
969
971
|
# @option params [required, String] :secret_id
|
970
|
-
# Specifies the secret
|
971
|
-
# resource-based policy. You can specify either the Amazon Resource
|
972
|
-
# (ARN) or the friendly name of the secret.
|
972
|
+
# Specifies the secret that you want to retrieve the attached
|
973
|
+
# resource-based policy for. You can specify either the Amazon Resource
|
974
|
+
# Name (ARN) or the friendly name of the secret.
|
973
975
|
#
|
974
976
|
# @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
975
977
|
#
|
@@ -1370,12 +1372,13 @@ module Aws::SecretsManager
|
|
1370
1372
|
req.send_request(options)
|
1371
1373
|
end
|
1372
1374
|
|
1373
|
-
# Attaches the contents of the specified resource-based
|
1374
|
-
# secret. A resource-based policy is optional.
|
1375
|
-
# use IAM
|
1376
|
-
#
|
1377
|
-
#
|
1378
|
-
#
|
1375
|
+
# Attaches the contents of the specified resource-based permission
|
1376
|
+
# policy to a secret. A resource-based policy is optional.
|
1377
|
+
# Alternatively, you can use IAM identity-based policies that specify
|
1378
|
+
# the secret's Amazon Resource Name (ARN) in the policy statement's
|
1379
|
+
# `Resources` element. You can also use a combination of both
|
1380
|
+
# identity-based and resource-based policies. The affected users and
|
1381
|
+
# roles receive the permissions that are permitted by all of the
|
1379
1382
|
# relevant policies. For more information, see [Using Resource-Based
|
1380
1383
|
# Policies for AWS Secrets Manager][1]. For the complete description of
|
1381
1384
|
# the AWS policy syntax and grammar, see [IAM JSON Policy Reference][2]
|
@@ -1391,10 +1394,10 @@ module Aws::SecretsManager
|
|
1391
1394
|
#
|
1392
1395
|
# **Related operations**
|
1393
1396
|
#
|
1394
|
-
# * To retrieve the resource policy attached to a secret, use
|
1397
|
+
# * To retrieve the resource policy that's attached to a secret, use
|
1395
1398
|
# GetResourcePolicy.
|
1396
1399
|
#
|
1397
|
-
# * To delete the resource-based policy that
|
1400
|
+
# * To delete the resource-based policy that's attached to a secret,
|
1398
1401
|
# use DeleteResourcePolicy.
|
1399
1402
|
#
|
1400
1403
|
# * To list all of the currently available secrets, use ListSecrets.
|
@@ -1405,13 +1408,12 @@ module Aws::SecretsManager
|
|
1405
1408
|
# [2]: http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html
|
1406
1409
|
#
|
1407
1410
|
# @option params [required, String] :secret_id
|
1408
|
-
# Specifies the secret
|
1409
|
-
#
|
1410
|
-
# friendly name of the secret.
|
1411
|
+
# Specifies the secret that you want to attach the resource-based policy
|
1412
|
+
# to. You can specify either the ARN or the friendly name of the secret.
|
1411
1413
|
#
|
1412
1414
|
# @option params [required, String] :resource_policy
|
1413
|
-
# A JSON-formatted string constructed according to the grammar
|
1414
|
-
# syntax for an AWS resource-based policy. The policy in the string
|
1415
|
+
# A JSON-formatted string that's constructed according to the grammar
|
1416
|
+
# and syntax for an AWS resource-based policy. The policy in the string
|
1415
1417
|
# identifies who can access or manage this secret and its versions. For
|
1416
1418
|
# information on how to format a JSON parameter for the various command
|
1417
1419
|
# line tool environments, see [Using JSON for Parameters][1] in the *AWS
|
@@ -2511,7 +2513,7 @@ module Aws::SecretsManager
|
|
2511
2513
|
params: params,
|
2512
2514
|
config: config)
|
2513
2515
|
context[:gem_name] = 'aws-sdk-secretsmanager'
|
2514
|
-
context[:gem_version] = '1.
|
2516
|
+
context[:gem_version] = '1.9.0'
|
2515
2517
|
Seahorse::Client::Request.new(handlers, context)
|
2516
2518
|
end
|
2517
2519
|
|
@@ -76,7 +76,7 @@ module Aws::SecretsManager
|
|
76
76
|
# Specifies the friendly name of the new secret.
|
77
77
|
#
|
78
78
|
# The secret name must be ASCII letters, digits, or the following
|
79
|
-
# characters : /\_
|
79
|
+
# characters : /\_+=.@-
|
80
80
|
# @return [String]
|
81
81
|
#
|
82
82
|
# @!attribute [rw] client_request_token
|
@@ -299,9 +299,9 @@ module Aws::SecretsManager
|
|
299
299
|
# }
|
300
300
|
#
|
301
301
|
# @!attribute [rw] secret_id
|
302
|
-
# Specifies the secret
|
303
|
-
# resource-based policy. You can specify either the Amazon
|
304
|
-
# Name (ARN) or the friendly name of the secret.
|
302
|
+
# Specifies the secret that you want to delete the attached
|
303
|
+
# resource-based policy for. You can specify either the Amazon
|
304
|
+
# Resource Name (ARN) or the friendly name of the secret.
|
305
305
|
# @return [String]
|
306
306
|
#
|
307
307
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/DeleteResourcePolicyRequest AWS API Documentation
|
@@ -312,13 +312,13 @@ module Aws::SecretsManager
|
|
312
312
|
end
|
313
313
|
|
314
314
|
# @!attribute [rw] arn
|
315
|
-
# The ARN of the secret
|
316
|
-
#
|
315
|
+
# The ARN of the secret that the resource-based policy was deleted
|
316
|
+
# for.
|
317
317
|
# @return [String]
|
318
318
|
#
|
319
319
|
# @!attribute [rw] name
|
320
|
-
# The friendly name of the secret
|
321
|
-
#
|
320
|
+
# The friendly name of the secret that the resource-based policy was
|
321
|
+
# deleted for.
|
322
322
|
# @return [String]
|
323
323
|
#
|
324
324
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/DeleteResourcePolicyResponse AWS API Documentation
|
@@ -598,9 +598,9 @@ module Aws::SecretsManager
|
|
598
598
|
# }
|
599
599
|
#
|
600
600
|
# @!attribute [rw] secret_id
|
601
|
-
# Specifies the secret
|
602
|
-
# resource-based policy. You can specify either the Amazon
|
603
|
-
# Name (ARN) or the friendly name of the secret.
|
601
|
+
# Specifies the secret that you want to retrieve the attached
|
602
|
+
# resource-based policy for. You can specify either the Amazon
|
603
|
+
# Resource Name (ARN) or the friendly name of the secret.
|
604
604
|
# @return [String]
|
605
605
|
#
|
606
606
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/GetResourcePolicyRequest AWS API Documentation
|
@@ -611,23 +611,23 @@ module Aws::SecretsManager
|
|
611
611
|
end
|
612
612
|
|
613
613
|
# @!attribute [rw] arn
|
614
|
-
# The ARN of the secret
|
615
|
-
#
|
614
|
+
# The ARN of the secret that the resource-based policy was retrieved
|
615
|
+
# for.
|
616
616
|
# @return [String]
|
617
617
|
#
|
618
618
|
# @!attribute [rw] name
|
619
|
-
# The friendly name of the secret
|
620
|
-
#
|
619
|
+
# The friendly name of the secret that the resource-based policy was
|
620
|
+
# retrieved for.
|
621
621
|
# @return [String]
|
622
622
|
#
|
623
623
|
# @!attribute [rw] resource_policy
|
624
|
-
# A JSON-formatted string that describes the permissions
|
625
|
-
# with the attached secret. These permissions are combined
|
626
|
-
# permissions associated with the user or role
|
627
|
-
# this secret. The combined permissions specify who
|
628
|
-
# secret and what actions they can perform. For more
|
629
|
-
# [Authentication and Access Control for AWS Secrets
|
630
|
-
# the *AWS Secrets Manager User Guide*.
|
624
|
+
# A JSON-formatted string that describes the permissions that are
|
625
|
+
# associated with the attached secret. These permissions are combined
|
626
|
+
# with any permissions that are associated with the user or role that
|
627
|
+
# attempts to access this secret. The combined permissions specify who
|
628
|
+
# can access the secret and what actions they can perform. For more
|
629
|
+
# information, see [Authentication and Access Control for AWS Secrets
|
630
|
+
# Manager][1] in the *AWS Secrets Manager User Guide*.
|
631
631
|
#
|
632
632
|
#
|
633
633
|
#
|
@@ -929,18 +929,18 @@ module Aws::SecretsManager
|
|
929
929
|
# }
|
930
930
|
#
|
931
931
|
# @!attribute [rw] secret_id
|
932
|
-
# Specifies the secret
|
933
|
-
# policy. You can specify either the
|
934
|
-
#
|
932
|
+
# Specifies the secret that you want to attach the resource-based
|
933
|
+
# policy to. You can specify either the ARN or the friendly name of
|
934
|
+
# the secret.
|
935
935
|
# @return [String]
|
936
936
|
#
|
937
937
|
# @!attribute [rw] resource_policy
|
938
|
-
# A JSON-formatted string constructed according to the grammar
|
939
|
-
# syntax for an AWS resource-based policy. The policy in the
|
940
|
-
# identifies who can access or manage this secret and its
|
941
|
-
# For information on how to format a JSON parameter for the
|
942
|
-
# command line tool environments, see [Using JSON for
|
943
|
-
# in the *AWS CLI User Guide*.
|
938
|
+
# A JSON-formatted string that's constructed according to the grammar
|
939
|
+
# and syntax for an AWS resource-based policy. The policy in the
|
940
|
+
# string identifies who can access or manage this secret and its
|
941
|
+
# versions. For information on how to format a JSON parameter for the
|
942
|
+
# various command line tool environments, see [Using JSON for
|
943
|
+
# Parameters][1] in the *AWS CLI User Guide*.
|
944
944
|
#
|
945
945
|
#
|
946
946
|
#
|
@@ -956,13 +956,13 @@ module Aws::SecretsManager
|
|
956
956
|
end
|
957
957
|
|
958
958
|
# @!attribute [rw] arn
|
959
|
-
# The ARN of the secret
|
960
|
-
#
|
959
|
+
# The ARN of the secret that the resource-based policy was retrieved
|
960
|
+
# for.
|
961
961
|
# @return [String]
|
962
962
|
#
|
963
963
|
# @!attribute [rw] name
|
964
|
-
# The friendly name of the secret
|
965
|
-
#
|
964
|
+
# The friendly name of the secret that the resource-based policy was
|
965
|
+
# retrieved for.
|
966
966
|
# @return [String]
|
967
967
|
#
|
968
968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/PutResourcePolicyResponse AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-secretsmanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|