createTestMasterKey creates a MasterKey with the provided ARN and a dummy credentials.StaticCredentialsProvider.
(arn string)
| 625 | // createTestMasterKey creates a MasterKey with the provided ARN and a dummy |
| 626 | // credentials.StaticCredentialsProvider. |
| 627 | func createTestMasterKey(arn string) MasterKey { |
| 628 | return MasterKey{ |
| 629 | Arn: arn, |
| 630 | credentialsProvider: credentials.NewStaticCredentialsProvider("id", "secret", ""), |
| 631 | baseEndpoint: testKMSServerURL, |
| 632 | } |
| 633 | } |
| 634 | |
| 635 | // createTestKMSClient creates a new client with the |
| 636 | // aws.EndpointResolverWithOptions set to epResolver. |
no outgoing calls
no test coverage detected