Package com.atlassian.bamboo.security
Interface TrustedKeyService
- All Known Implementing Classes:
TrustedKeyServiceImpl
@Internal
public interface TrustedKeyService
- Since:
- 5.10.1
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(long trustedKeyId) @NotNull List<TrustedKey>
findAll()
@NotNull List<TrustedKey>
boolean
save
(@NotNull TrustedKey trustedKey) Persists the given trusted key.
-
Method Details
-
findAll
-
findApproved
-
delete
void delete(long trustedKeyId) -
save
Persists the given trusted key.- Returns:
- true, if trusted key was saved successfully; false if the key was not saved, because another key with the same host/ssh key combination already exists
-