get_programmatic_access_credentials
async
¶
get_programmatic_access_credentials(
environment_id: IdType,
*,
config_overrides: Optional[AsyncfinspacedataClientConfig] = None,
duration_in_minutes: Optional[SessionDuration] = None,
) -> GetProgrammaticAccessCredentialsResponse
Request programmatic credentials to use with FinSpace SDK. For more information, see Step 2. Access credentials programmatically using IAM access key id and secret access key.
Parameters:
-
duration_in_minutes(Optional[SessionDuration], default:None) –The time duration in which the credentials remain valid.
-
environment_id(IdType) –The FinSpace environment identifier.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_finspace_data/_services/async_finspacedata.py
1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 | |