@Override
    public AWSCredentials getCredentials() {
        return this.credentials.getCredentials();
    }
@Test
    public void encryptSecretKeyFromPluginConfigUsingSystemSecret() {
        when(systemConfiguration.getPasswordSecret()).thenReturn("encryptionKey123");
        final AWSPluginConfiguration config = AWSPluginConfiguration.createDefault()
                .toBuilder()
                .accessKey("MyAccessKey")
                .secretKey("aVerySecretKey", "encryptionKey123")
                .build();

        AWSAuthProvider authProvider = createForConfig(config);

        assertThat(authProvider.getCredentials().getAWSSecretKey()).isEqualTo("aVerySecretKey");
        assertThat(authProvider.getCredentials().getAWSAccessKeyId()).isEqualTo("MyAccessKey");
    }