| | |
| | | // Configure Credentials authentication information, including ak, secret, token |
| | | StaticCredentialProvider provider = StaticCredentialProvider.create(Credential.builder() |
| | | // Please ensure that the environment variables ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET are set. |
| | | .accessKeyId("LTAI5tL1dE1DzT4ZYdDQZ8k7") |
| | | .accessKeySecret("4SZBtTyLhOoYRcfMS4SVAtGz8ZnxRP") |
| | | .accessKeyId("LTAI5tM6Ln3ukAeo9euZ8RUG") |
| | | .accessKeySecret("MGAnBeOKjjQNogFJEFsPVCdF57vsTw") |
| | | //.securityToken(System.getenv("ALIBABA_CLOUD_SECURITY_TOKEN")) // use STS token |
| | | .build()); |
| | | |