-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Roberto Rojas <[email protected]>
- Loading branch information
1 parent
7c1f83b
commit b6f9f9f
Showing
3 changed files
with
85 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,3 +103,70 @@ azuread: | |
- AzurePublicCloud | ||
- AzureChinaCloud | ||
- AzureUSGovernmentCloud | ||
|
||
gcp: | ||
- title: "GCP API call Authentication" | ||
description: | | ||
Authenticate authenticates API calls with the given service account or refresh token JSON credentials. | ||
metadata: | ||
- name: private_key_id | ||
required: true | ||
sensitive: true | ||
description: | | ||
GCP private key id. | ||
example: '"privateKeyId"' | ||
- name: private_key | ||
required: true | ||
sensitive: true | ||
description: | | ||
GCP credentials private key. Replace with x509 cert. | ||
example: '"-----BEGIN PRIVATE KEY-----\nMIIEvgIBADAsUw+2/y/MfhhkIKQTgnoiIZFHximeQN67VF9pifNR/D0k\\n-----END PRIVATE KEY-----\n"' | ||
- name: type | ||
type: string | ||
required: true | ||
description: | | ||
The GCP credentials type. | ||
example: '"service_account"' | ||
- name: project_id | ||
type: string | ||
required: true | ||
description: | | ||
GCP project id. | ||
example: '"projectId"' | ||
- name: client_email | ||
type: string | ||
required: true | ||
description: | | ||
GCP client email. | ||
example: '"[email protected]"' | ||
- name: client_id | ||
type: string | ||
required: true | ||
description: | | ||
GCP client id. | ||
example: '"0123456789-0123456789"' | ||
- name: auth_uri | ||
type: string | ||
required: false | ||
description: | | ||
Google account OAuth endpoint. | ||
example: '"https://accounts.google.com/o/oauth2/auth"' | ||
- name: token_uri | ||
type: string | ||
required: false | ||
description: | | ||
Google account token uri. | ||
example: '"https://oauth2.googleapis.com/token"' | ||
- name: auth_provider_x509_cert_url | ||
type: string | ||
required: false | ||
description: | | ||
GCP credentials cert url. | ||
example: '"https://www.googleapis.com/oauth2/v1/certs"' | ||
- name: client_x509_cert_url | ||
type: string | ||
required: false | ||
description: | | ||
GCP credentials project x509 cert url. | ||
example: '"https://www.googleapis.com/robot/v1/metadata/x509/<PROJECT_NAME>.iam.gserviceaccount.com"' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,78 +14,15 @@ binding: | |
- name: create | ||
description: "Create an item." | ||
capabilities: [] | ||
authenticationProfiles: | ||
- title: "GCP API call Authentication" | ||
description: | | ||
Authenticate authenticates API calls with the given service account or refresh token JSON credentials. | ||
metadata: | ||
- name: private_key_id | ||
required: true | ||
sensitive: true | ||
description: | | ||
GCP private key id. | ||
example: '"privateKeyId"' | ||
- name: private_key | ||
required: true | ||
sensitive: true | ||
description: | | ||
GCP credentials private key. Replace with x509 cert. | ||
example: '"12345-12345"' | ||
builtinAuthenticationProfiles: | ||
- name: "gcp" | ||
metadata: | ||
- name: bucket | ||
required: true | ||
description: | | ||
The bucket name. | ||
example: '"mybucket"' | ||
type: string | ||
- name: type | ||
type: string | ||
required: true | ||
description: | | ||
The GCP credentials type. | ||
example: '"service_account"' | ||
- name: project_id | ||
type: string | ||
required: true | ||
description: | | ||
GCP project id. | ||
example: '"projectId"' | ||
- name: client_email | ||
type: string | ||
required: true | ||
description: | | ||
GCP client email. | ||
example: '"[email protected]"' | ||
- name: client_id | ||
type: string | ||
required: true | ||
description: | | ||
GCP client id. | ||
example: '"0123456789-0123456789"' | ||
- name: auth_uri | ||
type: string | ||
required: false | ||
description: | | ||
Google account OAuth endpoint. | ||
example: '"https://accounts.google.com/o/oauth2/auth"' | ||
- name: token_uri | ||
type: string | ||
required: false | ||
description: | | ||
Google account token uri. | ||
example: '"https://oauth2.googleapis.com/token"' | ||
- name: auth_provider_x509_cert_url | ||
type: string | ||
required: false | ||
description: | | ||
GCP credentials cert url. | ||
example: '"https://www.googleapis.com/oauth2/v1/certs"' | ||
- name: client_x509_cert_url | ||
type: string | ||
required: false | ||
description: | | ||
GCP credentials project x509 cert url. | ||
example: '"https://www.googleapis.com/robot/v1/metadata/x509/<PROJECT_NAME>.iam.gserviceaccount.com"' | ||
- name: decodeBase64 | ||
type: bool | ||
required: false | ||
|