Package com.atlassian.bamboo.security
Interface TrustedKeyHelper
- All Known Implementing Classes:
AbstractTrustedKeyHelper
,RemoteTrustedKeyHelperImpl
,ServerTrustedKeyHelperImpl
@Internal
public interface TrustedKeyHelper
Used by server and agents to have access to Trusted keys file
- Since:
- 5.10.1
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Function<TrustedKey,
String> Prepare row for known_hosts file -
Method Summary
-
Field Details
-
KNOWN_HOSTS_FUNCTION
Prepare row for known_hosts file
-
-
Method Details
-
isCustomAcceptedSshHostKeysEnabled
boolean isCustomAcceptedSshHostKeysEnabled()- Returns:
- true if custom keys are enabled for Bamboo
-
getCustomAcceptedSshHostKeysFile
- Returns:
- file with trusted keys in SSH known_hosts format
-
getTrustedKeys
- Returns:
- trusted keys
-