Function approle_credentials

  • Create approle credentials

    Parameters

    • secret_id: string

      A secret generated when a container is started. Should only be used by a single container and not shared.

    • Optionalrole_id: string

      A static id generated when the approle is created. It can be read as a stats value. It should be considered a sensitive value and not shared.

    Returns Approle

    If weak-secret-id is set in the approle, role_id should not be set

    The secret-id is typically set in the environment of the app spec

    env:
    APPROLE_SECRET_ID: ${SYS_APPROLE_SECRET_ID}