HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/awscli/examples/servicecatalog/associate-principal-with-portfolio.rst
**To associate a principal with a portfolio**

The following ``associate-principal-with-portfolio`` example associates a user with the specified portfolio. ::

    aws servicecatalog associate-principal-with-portfolio \
        --portfolio-id port-2s6abcdefwdh4 \
        --principal-arn arn:aws:iam::123456789012:user/usertest \
        --principal-type IAM

This command produces no output.