Skip to content

Instantly share code, notes, and snippets.

@duboisf
Created January 21, 2025 15:48
Show Gist options
  • Save duboisf/c9e541fc931ba134ac243e288c8c8006 to your computer and use it in GitHub Desktop.
Save duboisf/c9e541fc931ba134ac243e288c8c8006 to your computer and use it in GitHub Desktop.
Create a fleetmd api user with random password
fleetctl user create --name 'Gitops User' \
  --password "$(cat /dev/urandom | tr -cd '[:graph:]' | head -c 32)" \
  --email [email protected] \
  --api-only \
  --global-role admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment