default @Nullable String getPassword(@NotNull CredentialAttributes attributes) {
    var credentials = get(attributes);
    return credentials == null ? null : credentials.getPasswordAsString();
  }
default @Nullable String getPassword(@NotNull CredentialAttributes attributes)