$ initiat commands
$ initiat secret delete
Delete a secret from the specified project
Back to Docs

Usage

      initiat secret delete <secret-key> [options]
      
    

Arguments

secret-key required

The key/name for the secret

Options

-f | --force

Skip confirmation prompt

-P | --project-path

Full project path (org/project) or alias

-p | --project

Project name (uses default org or --org)

--org

Organization slug (used with --project)

Examples

Delete secret with confirmation

      initiat secret delete API_KEY --project-path acme-corp/production
      
    

Delete secret with short flags

      initiat secret delete API_KEY -P acme-corp/production
      
    

Force delete without confirmation

      initiat secret delete OLD_API_KEY --project production --force
      
    

How it works

  1. Prompts for confirmation (unless --force is used)

  2. Deletes secret from server

  3. Shows confirmation message

Output

      ⚠️  Are you sure you want to delete secret 'API_KEY' from project acme-corp/production? (y/N): y
🗑️  Deleting secret 'API_KEY' from project acme-corp/production...
✅ Secret 'API_KEY' deleted successfully!

      
    
© 2025 Initiat Technologies. All rights reserved.