How do you add an account to Kadena Chainweaver? - pact-lang

When I was trying to deploy the HelloWorld contract using the beginner tutorial, I got to the configuration page in the deployment popup. I made two public keys, but the tutorial specified nothing about the accounts. How do I create accounts so I can fill the account section?
Deployment Configuration Page Screenshot

You can create accounts using the testnet faucet. These are the steps:
On the page, click "Create and Fund new Account". You need to generate a public key on Chainweaver (which I assume you have already done if you were at the point of deployment) but if you haven't, then simply go to the menu on Chainweaver and click keys -> Generate Keys button.
Paste the public key on the faucet and give an account name. The account name can be anything you want, but making a k account is recommended. You can do this by going to the keys page on Chainweaver and clicking "Add k: Account", which should be right next to your public key.
The faucet should then give you a request key, which you need to copy. Then, go back to the accounts page on Chainweaver, where you should click "Check Tx Status". Paste your request key in and click "Check Tx Status". It should say "Write succeeded", and you can click done.
If you refresh Chainweaver, you should see 20 KDA added to the account on a chain (typically chain 1). Hope that helps!

Related

Is there a way to hide data or encrypt it in the run history of logic App?

I know at this time deletion of the run history (LogicApps) is not possible, on with a workaround with deletion recreation of the logicApp. And run history is now useable in the range of 7-90 days for keeping data.
(see other for that: Is there any way to delete logic app run history / logs? ).
But is alternative there a way to encrypt the data with a password or key, the apps can run and not everyone who has rights to this resource can see the data in the run history?
To store data like password and key, azure recommend us to use azure key vault. So I suggest you to use key vault store your password and key, and then get the key vault in your logic app. Please refer to the steps below:
1. Create a key vault account.
2. Then go to your key vault account and click "Secret" tab, click "Generate/Import" to create the secret and store the password value in it.
3. Go to your logic app, click "Identity" tab and enable the "Status"
4. Go back to key vault account, click "Access policies", click "Add Access Policy".
In next page, search your logic app name and add it (after this operation, your logic app can access the key vault secret).
5. Then back to your logic app designer. Use "Get secret" action of Azure Key Vault connector to get the value of "password1".
6. Click the ... button in the upper right corner of "Get secret" action, click "Settings".
Enable "Secure Outputs".
7. After that, you can use the password value in your next actions and we can't see the password value in the run history.
8. Users can't see the value of secret in key vault account on portal if you don't assign permission for him. If user want to access the key vault, you need to do operation which similar with step 4 above(just change search the logic app name instead of search the user account, and add the user in it).

How to transfer Google Cloud project ownership?

I would like to transfer ownership of Google Cloud project completely. By completely I mean rather than sharing ownership between multiple users, removing my account from project. Is there any way to do it?
Share your project with a destination account using Permissions/Add Member/Is Owner
Accept invitation from destination account.
Remove yourself from this project. (Permissions/Select your account/Remove)
In case there are still people looking for the answer, the process may have changed a little bit. As of December 2018 -
Navigate to your project at https://console.cloud.google.com/
Click the "hamburger" menu button.
Click Menu Button
Select "IAM" under "Access"
Click IAM
At the top, click "ADD"
Click ADD
Name the new Owner and select "Owner" under "Project"
Select Owner under Project
Instruct your new Owner to Accept the Invitation
On new Owner's account, go to Billing in the "hamburger" menu and either link the project to an existing billing account or set up a new Billing account to link the project to.
On the new Owner's account, go back to the IAM section and delete your account from the list by clicking the pencil on the right and then the trash can icon.
Pencil
Trash can
After the transfer of ownership is completed, you will need to change the billing account too, in order to link it to the billing account of the new user
Go to IAM and Admin
Then Select IAM
Click Add
Provide another user's email and select roles as Project owner
Once another user accept your invitation you can remove yourself.
In Billing Section, modify Billing account/
I dont thing is possible but one thing you can do is add another admin.

iOS7 - how can I build and archive my code base after losing all my secure key info

I recently had a computer crash, and all those secure key files I create/downloaded got wiped out since I had to reinstall everything on my new computer.
Now when I try to archive my code base, I get an error saying that "no provisioning files were found with a signing identity." Here is the screen shot of the error:
Then I click "fix it" but it always comes back to this error. I think it is because my keychain access got wiped out. Would anyone know the steps to reset my keychain access with the correct settings?
Thanks!!
You need to revoke all certificates in apple developer center and issue them again. Each certificate has a private key which is stored only in your (issuer) keychain, since you lost your keychain there is no way to return those private keys (other than if you had a backup)
Go to "Certificates, Identifiers & Profiles" section of Member Center. On the left hand menu bar click on "Certificates". Make a list of certificates (hopefully you have one or two). Revoke them one by one. And create them again. You will need to create a certificate request file (.certSigningRequest) from your keychain.
Here is a good article about creating certificates:
http://www.aquafadas.com/en/documentation/sample-page/developer-apple-com-2/generating-your-development-certificate/
Please make sure that you also downloaded the intermediate apple certificate which is available inside member center|certificate section. You will notice the link when you creating new certs.
If someone else was publishing/testing apps using your account you need to share the private key with them.
Here is another article from same site explaining how to export certs with private keys:
http://www.aquafadas.com/en/documentation/sample-page/developer-apple-com-2/how-to-share-an-apple-certificate-and-its-private-key/
PS. I used google to find out above article and both happened to be from same website!

How to delete a project from Google Cloud Console

It seems that, from Google Cloud Console there is no way to delete a project.
Note: As of 2013-09-19 this is no longer an issue because
Google had fixed it.
- Now you can click on the check box and then
click delete
As 2017 approaches, Raptor's answer pretty much nailed it, but here is a screenshot and the basic steps to delete a project from the google cloud platform.
Go to console.cloud.google.com
Select your project (from drop-down on top nav-bar)
Select IAM & Admin (from hamburger menu on top-left nav-bar)
Click Settings in the left-side-bar nav.
Click SHUT DOWN (image shows DELETE PROJECT)
Enter text per instructions to confirm project shutdown.
UPDATE 11-2020
After clicking SHUT DOWN, you'll see the final dialog popup with instructions on what to type to confirm.
Try to change back to old console design.. You can find delete button there.
This is the old url
https://code.google.com/apis/console/
Then you click in the left sidebar on the project name, you'll have a "delete" link :)
Deleting your project from old console is no longer available!
So in the new console go to Billing and Settings and delete your project from there.
And you are done. Project will get deleted after 7 days waiting period!
You must first disable billing before deleting any project. See link https://developers.google.com/console/help/#deletingaproject
Since the console design has changed, many of the given solutions here won't apply anymore. Here is what Google help says here: https://support.google.com/cloud/answer/6251787?hl=en&ref_topic=6158848
To shut down a project:
Go to the Cloud Platform Console.
Open the console menu Gallery Menu on the top left and select IAM & Admin, then select All projects.
Find the name or project ID of the project you want to shut down, then
click DELETE PROJECT. A confirmation screen describing what will
happen appears.
To confirm, enter your project ID and click Shut down.
Shutting down a project stops all billing and traffic serving, shuts
down any Google Cloud Platform App Engine applications, and terminates
all Compute Engine instances. All project data associated with Google
Cloud and Google APIs services becomes inaccessible.
After a 7-day waiting period, the project and associated data are
permanently deleted from the console.
As of July 2017 the waiting period has increased:
After a 30-day waiting period, the project and associated data are permanently deleted from the console.
As of Dec 30, 2017, this appears to be different (yet again). I did the following.
Logon to the Google Cloud Console, Select IAM & Admin then Settings (from hamburger menu on top-left nav-bar). This is a cascading menu. After choosing that I saw the following.
On the bottom left of the screen is a button/link labeled Manage resources, click on it.
After clicking on it, I saw the following screen, on which I selected the project name I wanted to delete and clicked the Delete ICON/button.
Then I was asked if I wanted to "SHUTDOWN" the project and to do so I had to enter the project ID number, so I did and then clicked on the SHUTDOWN button/link.
Hope this helps someone. The others answers did help me out but were not the exact steps I had to follow.
Important Note: The terms "Shutting Down" a project and "Deleteting a Project" seem to mean the same thing, so if you stumble across something that says "Shutdown the project" you have likely come across another way to "delete the project".
open cmd in google cloud(which can be found after clicking in your project in right top corner) and type
gcloud projects delete [..your-project-id..]
Login with your Google Account
Navigate to this page: https://console.cloud.google.com/cloud-resource-manager?organizationId=0
Select a single project
Click "DELETE" (on top, above projects table)
You may need to visit https://appengine.google.com/, select an application, then go to Administration -> Application Settings, scroll down half-way and click "Disable Application" under "Disable or Delete". One the next page you can also request permanent deletion.
Just found that Google doesn't allow you to delete project in old console anymore. For now, you need to click on project, then "Billing & Settings", you will find delete button there.
Deletion of projects is no longer available under the old Google Cloud Platform Console. To delete a project, open the latest console. Once done, you should be able to see a list of your projects as well as the delete icon(s) on the right side:
You must be a project owner to shut down a project.
It's July 2018, none of the above works. Here is what I spotted and successfully deleted un-needed projects.
https://cloud.google.com/go/getting-started/delete-tutorial-resources
You need to delete all the unwanted project(s) else will be billed regardless.
Answering the question after a long time its been asked. Hopefully it will help someone who is looking for it in 2022.
As per the documentation of creating and managing projects in google cloud. its a simple process.
Search for IAM & Admin in global search.
Once we click on IAM & Admin we will land up in a page as follows.
Go to settings page from the left menu
It will take us to the currently selected project's settings page. On top there is a shutdown button. Press that for deleting the project.
Please note as per the official documentation,
This method immediately marks a project to be deleted. A notification email will be sent to the user who initiated the delete operation and the Technical category contacts that are listed in Essential Contacts. If there's no contact in the Technical category, the fallback contact will not be notified. A project that is marked for deletion is not usable. If the project has a billing account associated with it, that association is broken, and isn't reinstated if the project delete operation is canceled. After 30 days, the project is fully deleted.
Once we press the shutdown button, GCP will show a popup as shown below.
As a confirmation GCP is asking for project id to be manually entered in the popup. Enter the project id with caution and press shutdown in the popup.
It will show the success message as show below.
That's it. Hope it will help someone.
[https://console.cloud.google.com/cloud-resource-manager?project=mapapp-229211][1]
This Will Help For Manage Google cloud projects
To delete projects created using Google cloud console, you can use the following method:
1: Create a dummy gmail account.
2: Add the dummy gmail account as an owner of the project.
3: Login into the dummy gmail account.
4: Accept your role as owner of the project.
5: Visit Cloud console.
5: Go to Cloud Console -> Permissions and delete the main user from the project.
NOTE: Other than Step 2, rest all the steps should be performed using dummy gmail account.
Step By Step to disable and request permanent deletion from Google Cloud Console and Google Appengine Project.
Step 1 - Navigate to appengine project and Click on Application Settings.
Step 2 - Scroll/Find the button to Disable Application. Click the button.
Step 3 - Click on "Disable Application Now"
Step 4 - Click on "Request Permanent Deletion". You will screen update showing the scheduled delete.
Step 5 - Navigate to Google Cloud Console. The status corresponding to the disabled/deleted project is shown as "Disabled" in red.
Go to Google Cloud Platform,
select the project & click "DELETE PROJECT" on top right corner.
https://cloud.google.com/appengine/docs/python/console/?csw=1#delete%5Fapp

How to allow user other than Administrator to Add New User in DotnetNuke?

In DotNetNuke, Administrator only can add new user. I want to allow other user with custom role as well to Add New User. Is it possible with DotNetNuke ?
It used to be possible, though I haven't tried this in quite a while.
Basically what you can try a couple of options.
1) You can assign PAGE permissions on the User Accounts page in DNN to users of a specific role. Then you will need to provide those users a LINK to the page, as they won't see the admin menu and won't have access to the link via the Admin menu.
2) You can actually (used to be able to) place the User account module on a page that other roles have access to, the problem is that the User Accounts and Security roles modules are "premium" meaning that you have to specifically (as a superuser) allow them for use in a portal before they can be placed on a page. You do this from the host/extensions page and click on the edit pencil next to the module, find the premium section then assign it to the specific portal. Then you will add the module(s) to a page, you'll find that more than just the User Account module gets added, so you will want to remove the extra ones by deleting them from the page.
Hopefully one of those two options will work for you.

Resources