attachPolicy

Attaches the specified policy to the specified principal (certificate or other credential).

Requires permission to access the AttachPolicy action.