Creates a user workloads Secret.
This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
HTTP request
POST https://composer.googleapis.com/v1beta1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The environment name to create a Secret for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains an instance of UserWorkloadsSecret
.
Response body
If successful, the response body contains a newly created instance of UserWorkloadsSecret
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.