2 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
See https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html : "To run a query on a cluster that is owned by another account, the owning account must provide an IAM role that the Data API can assume in the calling account."
0
You can/should specify and API KEY & ID when you're constructing your client which refers to an identity in the target account.
redshift_client = boto3.client('redshift-data',
aws_access_key_id='abc',
aws_secret_access_key='123'
)
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 9 mesi fa