-
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.
Merge branch 'master' into http-wasm-middleware-config
- Loading branch information
Showing
84 changed files
with
2,467 additions
and
526 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 |
---|---|---|
|
@@ -13,6 +13,14 @@ aws: | |
required: true | ||
sensitive: true | ||
example: '"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"' | ||
- name: sessionToken | ||
required: false | ||
sensitive: true | ||
description: | | ||
AWS session token to use. A session token is only required if you are using | ||
temporary security credentials. | ||
example: '"TOKEN"' | ||
type: string | ||
- title: "AWS: Credentials from Environment Variables" | ||
description: Use AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY from the environment | ||
|
||
|
@@ -95,3 +103,72 @@ azuread: | |
- AzurePublicCloud | ||
- AzureChinaCloud | ||
- AzureUSGovernmentCloud | ||
|
||
gcp: | ||
- title: "GCP API Authentication with Service Account Key" | ||
description: | | ||
Authenticate authenticates API calls with the given service account or refresh token JSON credentials. | ||
metadata: | ||
- name: privateKeyID | ||
required: true | ||
sensitive: true | ||
description: | | ||
The GCP private key id. Replace with the value of "private_key_id" field of the Service Account Key file. | ||
example: '"privateKeyID"' | ||
- name: privateKey | ||
required: true | ||
sensitive: true | ||
description: | | ||
The GCP credentials private key. Replace with the value of "private_key" field of the Service Account Key file. | ||
example: '"-----BEGIN PRIVATE KEY-----\nMIIE...\\n-----END PRIVATE KEY-----\n"' | ||
- name: type | ||
type: string | ||
required: false | ||
description: | | ||
The GCP credentials type. | ||
example: '"service_account"' | ||
allowedValues: | ||
- service_account | ||
- name: projectID | ||
type: string | ||
required: true | ||
description: | | ||
GCP project id. | ||
example: '"projectID"' | ||
- name: clientEmail | ||
type: string | ||
required: true | ||
description: | | ||
GCP client email. | ||
example: '"[email protected]"' | ||
- name: clientID | ||
type: string | ||
required: true | ||
description: | | ||
The GCP client ID. | ||
example: '"0123456789-0123456789"' | ||
- name: authURI | ||
type: string | ||
required: false | ||
description: | | ||
The GCP account OAuth2 authorization server endpoint URI. | ||
example: '"https://accounts.google.com/o/oauth2/auth"' | ||
- name: tokenURI | ||
type: string | ||
required: false | ||
description: | | ||
The GCP account token server endpoint URI. | ||
example: '"https://oauth2.googleapis.com/token"' | ||
- name: authProviderX509CertURL | ||
type: string | ||
required: false | ||
description: | | ||
The GCP URL of the public x509 certificate, used to verify the signature | ||
on JWTs, such as ID tokens, signed by the authentication provider. | ||
example: '"https://www.googleapis.com/oauth2/v1/certs"' | ||
- name: clientX509CertURL | ||
type: string | ||
required: false | ||
description: | | ||
The GCP URL of the public x509 certificate, used to verify JWTs signed by the client. | ||
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
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
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 |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# yaml-language-server: $schema=../../../component-metadata-schema.json | ||
schemaVersion: v1 | ||
type: bindings | ||
name: aws.s3 | ||
version: v1 | ||
status: stable | ||
title: "AWS S3" | ||
urls: | ||
- title: Reference | ||
url: https://docs.dapr.io/reference/components-reference/supported-bindings/s3/ | ||
binding: | ||
output: true | ||
operations: | ||
- name: create | ||
description: "Create blob" | ||
- name: get | ||
description: "Get blob" | ||
- name: delete | ||
description: "Delete blob" | ||
- name: list | ||
description: "List blob" | ||
capabilities: [] | ||
builtinAuthenticationProfiles: | ||
- name: "aws" | ||
metadata: | ||
- name: bucket | ||
required: true | ||
description: | | ||
The name of the S3 bucket to write to. | ||
example: '"bucket"' | ||
type: string | ||
- name: region | ||
required: true | ||
description: | | ||
The specific AWS region where the S3 bucket is located. | ||
example: '"us-east-1"' | ||
type: string | ||
- name: endpoint | ||
required: false | ||
description: | | ||
AWS endpoint for the component to use, to connect to S3-compatible services or emulators. | ||
Do not use this when running against production AWS. | ||
example: '"http://localhost:4566"' | ||
type: string | ||
- name: forcePathStyle | ||
description: | | ||
Currently Amazon S3 SDK supports virtual-hosted-style and path-style access. | ||
When false (the default), uses virtual-hosted-style format, i.e.: `https://<your bucket>.<endpoint>/<key>`. | ||
When true, uses path-style format, i.e.: `https://<endpoint>/<your bucket>/<key>`. | ||
type: bool | ||
default: 'false' | ||
example: '"true", "false"' | ||
- name: decodeBase64 | ||
description: | | ||
Configuration to decode base64 file content before saving to bucket storage. | ||
(In case of saving a file with binary content). | ||
type: bool | ||
default: 'false' | ||
example: '"true", "false"' | ||
- name: encodeBase64 | ||
description: | | ||
Configuration to encode base64 file content before returning the content. | ||
(In case of opening a file with binary content). | ||
type: bool | ||
default: 'false' | ||
example: '"true", "false"' | ||
- name: disableSSL | ||
description: | | ||
Allows to connect to non-`https://` endpoints. | ||
type: bool | ||
default: 'false' | ||
example: '"true", "false"' | ||
- name: insecureSSL | ||
description: | | ||
When connecting to `https://` endpoints, accepts self-signed or invalid certificates. | ||
type: bool | ||
default: 'false' | ||
example: '"true", "false"' |
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
Oops, something went wrong.