diff --git a/src/main/java/org/jenkinsci/plugins/azurekeyvaultplugin/credentials/sshuserprivatekey/AzureSSHUserPrivateKeyCredentials.java b/src/main/java/org/jenkinsci/plugins/azurekeyvaultplugin/credentials/sshuserprivatekey/AzureSSHUserPrivateKeyCredentials.java index 591d14e..11023ae 100644 --- a/src/main/java/org/jenkinsci/plugins/azurekeyvaultplugin/credentials/sshuserprivatekey/AzureSSHUserPrivateKeyCredentials.java +++ b/src/main/java/org/jenkinsci/plugins/azurekeyvaultplugin/credentials/sshuserprivatekey/AzureSSHUserPrivateKeyCredentials.java @@ -1,6 +1,7 @@ package org.jenkinsci.plugins.azurekeyvaultplugin.credentials.sshuserprivatekey; import com.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey; +import com.cloudbees.jenkins.plugins.sshcredentials.impl.Messages; import com.cloudbees.plugins.credentials.CredentialsProvider; import com.cloudbees.plugins.credentials.impl.BaseStandardCredentials; import edu.umd.cs.findbugs.annotations.NonNull; @@ -13,7 +14,6 @@ import java.util.stream.Collectors; import org.apache.commons.lang.StringUtils; import org.jenkinsci.plugins.azurekeyvaultplugin.AzureCredentialsProvider; -import org.jenkinsci.plugins.plaincredentials.impl.Messages; import org.jvnet.localizer.ResourceBundleHolder; public class AzureSSHUserPrivateKeyCredentials extends BaseStandardCredentials implements SSHUserPrivateKey { @@ -84,7 +84,12 @@ public static class DescriptorImpl extends BaseStandardCredentialsDescriptor { @Override @NonNull public String getDisplayName() { - return ResourceBundleHolder.get(Messages.class).format("StringCredentialsImpl.secret_text"); + return ResourceBundleHolder.get(Messages.class).format("BasicSSHUserPrivateKey.DisplayName"); + } + + @Override + public String getIconClassName() { + return "symbol-fingerprint"; } @Override diff --git a/src/main/java/org/jenkinsci/plugins/azurekeyvaultplugin/credentials/usernamepassword/AzureUsernamePasswordCredentials.java b/src/main/java/org/jenkinsci/plugins/azurekeyvaultplugin/credentials/usernamepassword/AzureUsernamePasswordCredentials.java index 6bf556a..9f6fbdd 100644 --- a/src/main/java/org/jenkinsci/plugins/azurekeyvaultplugin/credentials/usernamepassword/AzureUsernamePasswordCredentials.java +++ b/src/main/java/org/jenkinsci/plugins/azurekeyvaultplugin/credentials/usernamepassword/AzureUsernamePasswordCredentials.java @@ -57,7 +57,7 @@ public String getDisplayName() { */ @Override public String getIconClassName() { - return "icon-credentials-userpass"; + return "symbol-id-card"; } @Override