github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/docs/2-the-jackal-cli/100-cli-commands/jackal_tools_update-creds.md (about)

     1  # jackal tools update-creds
     2  <!-- Auto-generated by hack/gen-cli-docs.sh -->
     3  
     4  Updates the credentials for deployed Jackal services. Pass a service key to update credentials for a single service
     5  
     6  ## Synopsis
     7  
     8  Updates the credentials for deployed Jackal services. Pass a service key to update credentials for a single service. i.e. 'jackal tools update-creds registry'
     9  
    10  ```
    11  jackal tools update-creds [flags]
    12  ```
    13  
    14  ## Examples
    15  
    16  ```
    17  
    18  # Autogenerate all Jackal credentials at once:
    19  $ jackal tools update-creds
    20  
    21  # Autogenerate specific Jackal service credentials:
    22  $ jackal tools update-creds registry
    23  $ jackal tools update-creds git
    24  $ jackal tools update-creds artifact
    25  $ jackal tools update-creds agent
    26  
    27  # Update all Jackal credentials w/external services at once:
    28  $ jackal tools update-creds \
    29  	--registry-push-username={USERNAME} --registry-push-password={PASSWORD} \
    30  	--git-push-username={USERNAME} --git-push-password={PASSWORD} \
    31  	--artifact-push-username={USERNAME} --artifact-push-token={PASSWORD}
    32  
    33  # NOTE: Any credentials omitted from flags without a service key specified will be autogenerated - URLs will only change if specified.
    34  # Config options can also be set with the 'init' section of a Jackal config file.
    35  
    36  # Update specific Jackal credentials w/external services:
    37  $ jackal tools update-creds registry --registry-push-username={USERNAME} --registry-push-password={PASSWORD}
    38  $ jackal tools update-creds git --git-push-username={USERNAME} --git-push-password={PASSWORD}
    39  $ jackal tools update-creds artifact --artifact-push-username={USERNAME} --artifact-push-token={PASSWORD}
    40  
    41  # NOTE: Not specifying a pull username/password will keep the previous pull username/password.
    42  
    43  ```
    44  
    45  ## Options
    46  
    47  ```
    48        --artifact-push-token string      [alpha] API Token for the push-user to access the artifact registry
    49        --artifact-push-username string   [alpha] Username to access to the artifact registry Jackal is configured to use. User must be able to upload package artifacts.
    50        --artifact-url string             [alpha] External artifact registry url to use for this Jackal cluster
    51        --confirm                         Confirm updating credentials without prompting
    52        --git-pull-password string        Password for the pull-only user to access the git server
    53        --git-pull-username string        Username for pull-only access to the git server
    54        --git-push-password string        Password for the push-user to access the git server
    55        --git-push-username string        Username to access to the git server Jackal is configured to use. User must be able to create repositories via 'git push'
    56        --git-url string                  External git server url to use for this Jackal cluster
    57    -h, --help                            help for update-creds
    58        --registry-pull-password string   Password for the pull-only user to access the registry
    59        --registry-pull-username string   Username for pull-only access to the registry
    60        --registry-push-password string   Password for the push-user to connect to the registry
    61        --registry-push-username string   Username to access to the registry Jackal is configured to use
    62        --registry-url string             External registry url address to use for this Jackal cluster
    63  ```
    64  
    65  ## Options inherited from parent commands
    66  
    67  ```
    68    -a, --architecture string   Architecture for OCI images and Jackal packages
    69        --insecure              Allow access to insecure registries and disable other recommended security enforcements such as package checksum and signature validation. This flag should only be used if you have a specific reason and accept the reduced security posture.
    70    -l, --log-level string      Log level when running Jackal. Valid options are: warn, info, debug, trace (default "info")
    71        --no-color              Disable colors in output
    72        --no-log-file           Disable log file creation
    73        --no-progress           Disable fancy UI progress bars, spinners, logos, etc
    74        --tmpdir string         Specify the temporary directory to use for intermediate files
    75        --jackal-cache string     Specify the location of the Jackal cache directory (default "~/.jackal-cache")
    76  ```
    77  
    78  ## SEE ALSO
    79  
    80  * [jackal tools](jackal_tools.md)	 - Collection of additional tools to make airgap easier