Interface CredentialKeys


public interface CredentialKeys
Centralized credential key names used by this plugin.

The keys are grouped by source:

  • Gradle properties used from gradle.properties
  • GitHub Actions default environment variables
  • Custom environment variables for read-only package access
  • Field Details

    • GRADLE_PROPS_USER

      static final String GRADLE_PROPS_USER
      Gradle property key for the GitHub Packages username.
      See Also:
    • GRADLE_PROPS_KEY

      static final String GRADLE_PROPS_KEY
      Gradle property key for the GitHub Packages token/password.
      See Also:
    • ENV_GH_ACTOR

      static final String ENV_GH_ACTOR
      GitHub Actions environment variable containing the actor/user name.
      See Also:
    • ENV_GH_TOKEN

      static final String ENV_GH_TOKEN
      GitHub Actions environment variable containing the access token.
      See Also:
    • ENV_GH_READ_PACKAGES_USER

      static final String ENV_GH_READ_PACKAGES_USER
      Custom environment variable for a read-only packages username.
      See Also:
    • ENV_GH_READ_PACKAGES_TOKEN

      static final String ENV_GH_READ_PACKAGES_TOKEN
      Custom environment variable for a read-only packages token.
      See Also:
  • Method Details

    • gradlePropsUser

      static String gradlePropsUser(String profile)
      Gradle property key for the username of a named credential profile, e.g. gpr.personal.user.
    • gradlePropsKey

      static String gradlePropsKey(String profile)
      Gradle property key for the token of a named credential profile, e.g. gpr.personal.key.