mirror of
https://github.com/google/nomulus
synced 2025-12-23 14:25:44 +00:00
Make RDE SSH key identity injectable
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=133883090
This commit is contained in:
committed by
Ben McIlwain
parent
28eeda189d
commit
2d46c7c27c
@@ -406,6 +406,18 @@ public final class ConfigModule {
|
||||
return Duration.standardHours(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the identity (an email address) used for the SSH keys used in RDE SFTP uploads.
|
||||
*
|
||||
* @see google.registry.keyring.api.Keyring#getRdeSshClientPublicKey()
|
||||
* @see google.registry.keyring.api.Keyring#getRdeSshClientPrivateKey()
|
||||
*/
|
||||
@Provides
|
||||
@Config("rdeSshIdentity")
|
||||
public static String provideSshIdentity() {
|
||||
return "rde@charlestonroadregistry.com";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns SFTP URL containing a username, hostname, port (optional), and directory (optional) to
|
||||
* which cloud storage files are uploaded. The password should not be included, as it's better to
|
||||
|
||||
Reference in New Issue
Block a user