1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
1
if you are writing code with Python, maybe this will be helpful
import boto3
def list_portfolios():
# Create a service catalog client
sc = boto3.client('servicecatalog')
# Call the list_portfolios method
response = sc.list_portfolios()
# Print the portfolio details
for portfolio_detail in response['PortfolioDetails']:
print(portfolio_detail)
# Call the function
list_portfolios()
but if you want to call via HTTP request, you need to correct Authorization value in the header, it uses AWS Signing key, not AWS Access Key or Secret Key
beantwortet vor 4 Monaten
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 4 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 9 Monaten
Thank you for your response. We are using Postman to simulate REST API call and using AWS authentication method to sign request where in it generate sign key based on key/secreat before calling AWS service catalog rest API. We can trigger EC2 rest API with same method but issue comes with service catalog API, is there anything we are missing here?