> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/technical-reference/connections-and-tool-execution/credential-changes-and-dependent-workflows.md).

# Credential Changes and Dependent Workflows

Updating a connection can affect every workflow or source that uses it. Keep the provider account and required access consistent during credential rotation.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSQ1Sgy933krTyK0S4JpP%2Fuploads%2FkyJ4klpZcLHIiou3FXkp%2FG046.mp4?alt=media&token=0c8af3e9-77af-4dd0-bbda-41dc649fe3b3>" %}

## Before you begin

Permission to update the connection and a list of its dependent projects or sources.

## Key concepts

| Term                | Definition                                                                                                                                               |
| ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Credential rotation | Replacement of an existing secret or authorization with a new one. Check dependent operations before retiring the old credential.                        |
| Connection          | A saved authorization to a particular provider account. An action uses the selected account’s access, subject to StackAI sharing controls.               |
| Scope               | A permission category requested by an application or assigned to a key. A scope permits an operation class; resource-level restrictions can still apply. |
| Dependency          | A value or step that another node needs before it can run correctly. Connect the source and map its output to the receiving node.                        |
| Revocation          | Withdrawal of a credential or access grant. Check dependent applications and separately issued links when access changes.                                |

## Replace connection credentials

1. Identify the operations that use the connection.

![Select the provider whose account the operation needs to access.](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/Xgr4UtJCP5PpVQrKbs4Z/assets/g046-g046-01-provider.png)

Select the provider whose account the operation needs to access.

2. Replace or reconnect the credential, preserving the required account and scopes.
3. Check dependent actions and source synchronization before retiring the old credential.

Dependent operations continue with the replacement credential.

## Behavior and limitations

A saved credential is not proof that every dependent operation works. A replacement account can have a different resource set. Credential rotation does not undo completed operations or remove previously indexed content. Review access and synchronization separately when the account changes.

## Related resources

[Create and manage connections](https://docs.stackai.com/guides-and-quickstarts/using-tools-and-actions/create-and-manage-connections.md)

[Connection Ownership, Sharing, and Permissions](https://docs.stackai.com/technical-reference/connections-and-tool-execution/connection-ownership-sharing-and-permissions.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/technical-reference/connections-and-tool-execution/credential-changes-and-dependent-workflows.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
