your credentials should be stored in a file called transport.yaml in your puppet conf dir.
(for users this is ~/.puppet/, for root, this is /etc/puppet, basically where puppet.conf lives)
Project that create Puppet resource's for modeling CloudStack objects.
cloudstack:
api_key: 'api_key'
secret_access_key: 'secret_key'
host: '127.0.0.1'
port: '8080'
path: '/client/api'
scheme: 'http'
puppet resource cloudstack_zone
puppet resource cloudstack_flavor
puppet resource cloudstack_image
puppet resource cloudstack_network
puppet resource cloudstack_instance
check the file tests/example.pp, it shows how to create instances as resources, only resources support being managed at the moment.