| 1 | #ifndef AWS_AUTH_AWS_PROFILE_H |
| 2 | #define AWS_AUTH_AWS_PROFILE_H |
| 3 | |
| 4 | /** |
| 5 | * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 6 | * SPDX-License-Identifier: Apache-2.0. |
| 7 | */ |
| 8 | |
| 9 | #include <aws/auth/auth.h> |
| 10 | |
| 11 | #include <aws/sdkutils/aws_profile.h> |
| 12 | |
| 13 | AWS_EXTERN_C_BEGIN |
| 14 | |
| 15 | /** |
| 16 | * Returns a set of credentials associated with a profile, based on the properties within the profile |
| 17 | */ |
| 18 | AWS_AUTH_API |
| 19 | struct aws_credentials *aws_credentials_new_from_profile( |
| 20 | struct aws_allocator *allocator, |
| 21 | const struct aws_profile *profile); |
| 22 | |
| 23 | AWS_EXTERN_C_END |
| 24 | |
| 25 | #endif /* AWS_AUTH_AWS_PROFILE_H */ |