---
title: "GET /credentials/programmatic#environmentId"
method: GET
path: "/credentials/programmatic#environmentId"
---

# GET /credentials/programmatic#environmentId

`GET /credentials/programmatic#environmentId`

Request programmatic credentials to use with FinSpace SDK.

## Query parameters

- `durationInMinutes` integer
- `environmentId` string, required

## Response `200`

Success

- GetProgrammaticAccessCredentialsResponse — Response for GetProgrammaticAccessCredentials operation
  - `credentials` object — Returns the programmatic credentials.
    - `accessKeyId` string — The access key identifier.
    - `secretAccessKey` string — The access key.
    - `sessionToken` string — The session token.
  - `durationInMinutes` integer — Returns the duration in which the credentials will remain valid.

## Other responses

- `480` — InternalServerException
- `481` — ValidationException
- `482` — ThrottlingException
- `483` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/finspace-data.md) · [All operations](https://skmtc.net/aws/apis/finspace-data/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/finspace-data/versions/d7561d153837/schema)
