Skip to content

Commit aa50495

Browse files
author
Avi Ribchinsky
committed
Update secret expiration dates
1 parent f8f11fd commit aa50495

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ secretsManager.set_service_url('<SERVICE_URL>')
101101
secret_prototype_model = {
102102
'custom_metadata': {'metadata_custom_key':'metadata_custom_value'},
103103
'description': 'Description of my arbitrary secret.',
104-
'expiration_date': '2023-10-05T11:49:42Z',
104+
'expiration_date': '2030-10-05T11:49:42Z',
105105
'labels': ['dev', 'us-south'],
106106
'name': 'example-arbitrary-secret',
107107
'secret_group_id': 'default',

examples/test_secrets_manager_v2_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_create_secret_example(self):
129129
secret_prototype_model = {
130130
'custom_metadata': {'metadata_custom_key':'metadata_custom_value'},
131131
'description': 'Description of my arbitrary secret.',
132-
'expiration_date': '2023-10-05T11:49:42Z',
132+
'expiration_date': '2030-10-05T11:49:42Z',
133133
'labels': ['dev', 'us-south'],
134134
'name': 'example-arbitrary-secret',
135135
'secret_group_id': 'default',

test/integration/test_secrets_manager_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def test_create_secret(self):
9292
secret_prototype_model = {
9393
'custom_metadata': {'metadata_custom_key':'metadata_custom_value'},
9494
'description': 'Description of my arbitrary secret.',
95-
'expiration_date': '2023-10-05T11:49:42Z',
95+
'expiration_date': '2030-10-05T11:49:42Z',
9696
'labels': ['dev', 'us-south'],
9797
'name': 'example-arbitrary-secret',
9898
'secret_group_id': 'default',

test/unit/test_secrets_manager_v2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ def test_create_secret_all_params(self):
551551
secret_prototype_model = {}
552552
secret_prototype_model['custom_metadata'] = {'anyKey': 'anyValue'}
553553
secret_prototype_model['description'] = 'Description of my arbitrary secret.'
554-
secret_prototype_model['expiration_date'] = '2023-10-05T11:49:42Z'
554+
secret_prototype_model['expiration_date'] = '2030-10-05T11:49:42Z'
555555
secret_prototype_model['labels'] = ['dev', 'us-south']
556556
secret_prototype_model['name'] = 'example-arbitrary-secret'
557557
secret_prototype_model['secret_group_id'] = 'default'
@@ -604,7 +604,7 @@ def test_create_secret_value_error(self):
604604
secret_prototype_model = {}
605605
secret_prototype_model['custom_metadata'] = {'anyKey': 'anyValue'}
606606
secret_prototype_model['description'] = 'Description of my arbitrary secret.'
607-
secret_prototype_model['expiration_date'] = '2023-10-05T11:49:42Z'
607+
secret_prototype_model['expiration_date'] = '2030-10-05T11:49:42Z'
608608
secret_prototype_model['labels'] = ['dev', 'us-south']
609609
secret_prototype_model['name'] = 'example-arbitrary-secret'
610610
secret_prototype_model['secret_group_id'] = 'default'

0 commit comments

Comments
 (0)