I am working on longhorn backup automation using script/commands. Its working through web UI. Please help me the right tutorial for command lines and also while listing backup using command line getting below error, I have tried to with parameters “–secret” its not working
Command : longhorn backup ls --volume-only s3://<BUCKET_NAME>@REGION/
Getting Error like below
ERRO[0020] Fail to list s3: failed to list objects with param: {
Bucket: "BUCKET_NAME",
Delimiter: "/",
Prefix: "/"
} response: {
} error: AWS Error: NoCredentialProviders no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors <nil> pkg=s3
ERRO[0020] failed to list objects with param: {
Bucket: "BUCKET_NAME",
Delimiter: "/",
Prefix: "/"
} response: {
} error: AWS Error: NoCredentialProviders no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors <nil>
failed to list objects with param: {
Bucket: "BUCKET_NAME",
Delimiter: "/",
Prefix: "/"
} response: {
} error: AWS Error: NoCredentialProviders no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors <nil>