public interface EncryptedCredentialsAccessor
Modifier and Type | Method and Description |
---|---|
List<CredentialsData> |
getAllCredentials()
Gets all shared credentials without decrypting their configuration.
|
Optional<CredentialsData> |
getCredentialsById(long id)
Gets the shared credentials by id without decrypting its configuration.
|
Optional<CredentialsData> |
getCredentialsByName(String name)
Gets the shared credentials by name without decrypting its configuration.
|
Optional<CredentialsData> |
getCredentialsByOid(BambooEntityOid oid)
Gets the shared credentials by
oid without decrypting its configuration. |
@NotNull List<CredentialsData> getAllCredentials()
@NotNull Optional<CredentialsData> getCredentialsById(long id)
id
- id of the shared credentials@NotNull Optional<CredentialsData> getCredentialsByOid(@NotNull BambooEntityOid oid)
oid
without decrypting its configuration.oid
- oid of the shared credentials@NotNull Optional<CredentialsData> getCredentialsByName(@NotNull String name)
name
- name of the shared credentialsCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.