You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Retrieve the metadata of a secret specified by the `region` and the `secret_id` parameters.
133
136
:param region: Region to target. If none is passed will use default region from the config.
134
-
:param secret_name: Name of the Secret.
137
+
:param secret_name: Name of the secret.
135
138
:return: :class:`Secret <Secret>`
136
139
137
140
Usage:
@@ -163,12 +166,13 @@ async def update_secret(
163
166
description: Optional[str] =None,
164
167
) ->Secret:
165
168
"""
166
-
Update metadata of a Secret.
169
+
Update metadata of a secret.
170
+
Edit a secret's metadata such as name, tag(s) and description. The secret to update is specified by the `secret_id` and `region` parameters.
167
171
:param region: Region to target. If none is passed will use default region from the config.
168
-
:param secret_id: ID of the Secret.
169
-
:param name: New name of the Secret (optional).
170
-
:param tags: New list of tags associated to this Secret (optional).
171
-
:param description: Description of the Secret.
172
+
:param secret_id: ID of the secret.
173
+
:param name: Secret's updated name (optional).
174
+
:param tags: Secret's updated list of tags (optional).
175
+
:param description: Description of the secret.
172
176
:return: :class:`Secret <Secret>`
173
177
174
178
Usage:
@@ -213,11 +217,12 @@ async def list_secrets(
213
217
page_size: Optional[int] =None,
214
218
) ->ListSecretsResponse:
215
219
"""
216
-
List Secrets.
220
+
List secrets.
221
+
Retrieve the list of secrets created within an Organization and/or Project. You must specify either the `organization_id` or the `project_id` and the `region`.
217
222
:param region: Region to target. If none is passed will use default region from the config.
218
-
:param organization_id: ID of an organization to filter on (optional).
219
-
:param project_id: ID of a project to filter on (optional).
220
-
:param name: Secret name to filter on (optional).
223
+
:param organization_id: Filter by Organization ID (optional).
224
+
:param project_id: Filter by Project ID (optional).
225
+
:param name: Filter by secret name (optional).
221
226
:param tags: List of tags to filter on (optional).
222
227
:param order_by:
223
228
:param page:
@@ -265,11 +270,12 @@ async def list_secrets_all(
265
270
page_size: Optional[int] =None,
266
271
) ->List[Secret]:
267
272
"""
268
-
List Secrets.
273
+
List secrets.
274
+
Retrieve the list of secrets created within an Organization and/or Project. You must specify either the `organization_id` or the `project_id` and the `region`.
269
275
:param region: Region to target. If none is passed will use default region from the config.
270
-
:param organization_id: ID of an organization to filter on (optional).
271
-
:param project_id: ID of a project to filter on (optional).
272
-
:param name: Secret name to filter on (optional).
276
+
:param organization_id: Filter by Organization ID (optional).
277
+
:param project_id: Filter by Project ID (optional).
278
+
:param name: Filter by secret name (optional).
273
279
:param tags: List of tags to filter on (optional).
274
280
:param order_by:
275
281
:param page:
@@ -305,9 +311,10 @@ async def delete_secret(
305
311
region: Optional[Region] =None,
306
312
) ->Optional[None]:
307
313
"""
308
-
Delete a Secret.
314
+
Delete a secret.
315
+
Delete a given secret specified by the `region` and `secret_id` parameters.
309
316
:param region: Region to target. If none is passed will use default region from the config.
Get metadata of a secret's version using the secret's ID.
395
+
Retrieve the metadata of a secret's given version specified by the `region`, `secret_id` and `revision` parameters.
387
396
:param region: Region to target. If none is passed will use default region from the config.
388
-
:param secret_id: ID of the Secret.
389
-
:param revision: Revision of the SecretVersion (may be a number or "latest").
397
+
:param secret_id: ID of the secret.
398
+
:param revision: Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
Get metadata of a secret's version using the secret's name.
433
+
Retrieve the metadata of a secret's given version specified by the `region`, `secret_name` and `revision` parameters.
424
434
:param region: Region to target. If none is passed will use default region from the config.
425
-
:param secret_name: Name of the Secret.
426
-
:param revision: Revision of the SecretVersion (may be a number or "latest").
435
+
:param secret_name: Name of the secret.
436
+
:param revision: Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
Edit the metadata of a secret's given version, specified by the `region`, `secret_id` and `revision` parameters.
462
473
:param region: Region to target. If none is passed will use default region from the config.
463
-
:param secret_id: ID of the Secret.
464
-
:param revision: Revision of the SecretVersion (may be a number or "latest").
465
-
:param description: Description of the SecretVersion.
474
+
:param secret_id: ID of the secret.
475
+
:param revision: Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
Destroy a SecretVersion, permanently destroying the sensitive data.
681
+
Delete a version.
682
+
Delete a secret's version and the sensitive data contained in it. Deleting a version is permanent and cannot be undone.
667
683
:param region: Region to target. If none is passed will use default region from the config.
668
-
:param secret_id: ID of the Secret.
669
-
:param revision: Revision of the SecretVersion (may be a number or "latest").
684
+
:param secret_id: ID of the secret.
685
+
:param revision: Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
Make a specific version accessible. You must specify the `region`, `secret_id` and `revision` parameters.
704
721
:param region: Region to target. If none is passed will use default region from the config.
705
-
:param secret_id: ID of the Secret.
706
-
:param revision: Revision of the SecretVersion (may be a number or "latest").
722
+
:param secret_id: ID of the secret.
723
+
:param revision: Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
Make a specific version inaccessible. You must specify the `region`, `secret_id` and `revision` parameters.
741
759
:param region: Region to target. If none is passed will use default region from the config.
742
-
:param secret_id: ID of the Secret.
743
-
:param revision: Revision of the SecretVersion (may be a number or "latest").
760
+
:param secret_id: ID of the secret.
761
+
:param revision: Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
Access a SecretVersion, returning the sensitive data.
795
+
Access a secret's version using the secret's ID.
796
+
Access sensitive data in a secret's version specified by the `region`, `secret_id` and `revision` parameters.
778
797
:param region: Region to target. If none is passed will use default region from the config.
779
-
:param secret_id: ID of the Secret.
780
-
:param revision: Revision of the SecretVersion (may be a number or "latest").
798
+
:param secret_id: ID of the secret.
799
+
:param revision: Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
Access a SecretVersion by name, returning the sensitive data.
833
+
Access a secret's version using the secret's name.
834
+
Access sensitive data in a secret's version specified by the `region`, `secret_name` and `revision` parameters.
815
835
:param region: Region to target. If none is passed will use default region from the config.
816
-
:param secret_name: Name of the Secret.
817
-
:param revision: Revision of the SecretVersion (may be a number or "latest").
836
+
:param secret_name: Name of the secret.
837
+
:param revision: Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be a number or "latest".
0 commit comments