protected String getEncryptionKey ( ) { if ( extendedMetadata != null && extendedMetadata . getEncryptionKey ( ) != null ) { return extendedMetadata . getEncryptionKey ( ) ; } else { return keyManager . getDefaultCredentialName ( ) ; } }
Provides key used for encryption from extended metadata . Uses default when key is not specified .