Skip to content

Commit

Permalink
set all of replication to ForceNew (GoogleCloudPlatform#5124)
Browse files Browse the repository at this point in the history
  • Loading branch information
c2thorn authored and khajduczenia committed Oct 12, 2021
1 parent f2c8613 commit ffac536
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mmv1/products/secretmanager/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,15 @@ objects:
properties:
- !ruby/object:Api::Type::Boolean
name: automatic
input: true
exactly_one_of:
- replication.0.automatic
- replication.0.user_managed
description: |
The Secret will automatically be replicated without any restrictions.
- !ruby/object:Api::Type::NestedObject
name: userManaged
input: true
exactly_one_of:
- replication.0.automatic
- replication.0.user_managed
Expand All @@ -104,6 +106,7 @@ objects:
properties:
- !ruby/object:Api::Type::Array
name: replicas
input: true
required: true
min_size: 1
description: |
Expand All @@ -113,16 +116,19 @@ objects:
- !ruby/object:Api::Type::String
name: location
required: true
input: true
description: |
The canonical IDs of the location to replicate data. For example: "us-east1".
- !ruby/object:Api::Type::NestedObject
name: customerManagedEncryption
input: true
description: |
Customer Managed Encryption for the secret.
properties:
- !ruby/object:Api::Type::String
name: kmsKeyName
required: true
input: true
description: |
Describes the Cloud KMS encryption key that will be used to protect destination secret.
- !ruby/object:Api::Type::Array
Expand Down

0 comments on commit ffac536

Please sign in to comment.