echoing-elephant-33661
07/02/2024, 9:37 AMpulumi login 's3://<bucket-name>?endpoint=my.minio.local:8080&disableSSL=true&s3ForcePathStyle=true'
modern-zebra-45309
07/02/2024, 10:30 AMlimited-wire-44163
07/02/2024, 10:51 AMpulumi login 's3://<bucket-name>?region=local&endpoint=my.minio.local:8080&disableSSL=true&s3ForcePathStyle=true'
I assume that AWS_SECRET_ACCESS_KEY and AWS_ACCESS_KEY_ID are setechoing-elephant-33661
07/02/2024, 12:03 PMexport AWS_ACCESS_KEY_ID=myuser
export AWS_ACCESS_KEY=myplainpassword
When I try pulumi login 's3://<bucket-name>?region=local&endpoint=my.minio.local:8080&disableSSL=true&s3ForcePathStyle=true'
error: problem logging in: read ".pulumi/meta.yaml": blob (key ".pulumi/meta.yaml") (code=Unknown): NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
Apparently I could login with setting these parameters!
Will update the thread if not
modern-zebra-45309
07/02/2024, 12:49 PMAWS_SECRET_ACCESS_KEY
, not AWS_ACCESS_KEY
. See https://www.pulumi.com/registry/packages/aws/installation-configuration/#set-credentials-as-environment-variablesmodern-zebra-45309
07/02/2024, 12:51 PMexport AWS_REGION=us-east-1
Once you've configured the AWS credentials, you should be able to interact with your S3-compatible storage via the AWS CLI, e.g., aws --endpoint-url <http://localhost:9000> s3 ls s3://<bucket name>
echoing-elephant-33661
07/02/2024, 1:14 PM