@ JsonIgnore public Map < String , String > getCredentials ( ) { if ( getId ( ) == null ) { return Collections . emptyMap ( ) ; } else { Map < String , String > keys = new LinkedHashMap < String , String > ( 2 ) ; keys . put ( "accessKey" , getId ( ) ) ; keys . put ( "secretKey" , getSecret ( ) ) ; return keys ; } }
Returns the map containing the app s access key and secret key .