﻿---
title: cloud serverless projects observability reset-credentials cli command
description: Reset the project credentials 
url: https://docs-v3-preview.elastic.dev/elastic/cli/pull/474/cli/cloud/serverless/projects/observability/reset-credentials
---

# cloud serverless projects observability reset-credentials cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic cloud serverless projects observability reset-credentials \
  --id <id> \
  [options]
```

Reset the project credentials

## Options

<definitions>
  <definition term="--id string required">
    The ID of the project
  </definition>
  <definition term="--save-as string">
    store returned credentials in the OS keychain and upsert a context of this name
  </definition>
  <definition term="--credentials-file string">
    write credentials to a standalone YAML config fragment at this path (0600)
  </definition>
  <definition term="--config-file string">
    override the config file written by --save-as (defaults to ~/.elasticrc.yml)
  </definition>
  <definition term="--[no-]force">
    overwrite an existing context (--save-as) or file (--credentials-file)
  </definition>
</definitions>


## cloud Options

<definitions>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--[no-]dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--[no-]json">
    output as JSON
  </definition>
</definitions>