Replies: 1 comment 2 replies
|
Having this as a property within the Can the quota project ID always be extracted from the key, or might it be different from the key's project? (I don't use GCP KMS, so 🤷) I guess another question is whether it is possible to need a different project ID depending on the key in use. This seems to be the case for AWS profiles for AWS KMS keys (which is one reason why the |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Google Cloud Platform includes support for a Quota Project where the ID of the Google Project can be specified for billing purposes. #1697 first introduced support for this feature where the
option.WithQuotaProject(id)property is set when authenticating to Google Cloud.However, the new integration caused a regression for users not leveraging the feature as it requires additional permissions (
serviceusage.services.use) to be granted. In order to support SOPS users as a whole, this discussion intends to determine the best path forward:Motivations
Implementation of Project Quotas
A Project Quota can be specified in several ways:
Property within the
creation_rulesInclude a new property within the
creation_ruleswhich allows for specifying the ID of the Quota Project that should be used for each operation.Example:
Pros:
Cons:
aws_profileis specified as documented hereEnvironment Variable
Specify the Quota Project via the environment variable that is leveraged via the Google clients (
GOOGLE_CLOUD_QUOTA_PROJECT)Pros:
Cons:
Defined on Credentials
A Quota Project can be defined on the credential that is used to authenticate with Google Cloud. Based on the credential being used, extract the value.
Pros:
Cons:
All reactions